LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error: 1D array of single

Solved!
Go to solution

Hi

 

I used a project that already made to acquire the EEG signal from the Neurosky headset,

(The project taken from the following link: https://forums.ni.com/t5/tkb/articleprintpage/tkb-id/7324/article-id/338).

The program working perfect and I am able to view the signal.

 

I tried to edit the project so i can send the signal out of my computer using MyRio by putting (MyRio Analog Output block).

I got the following error: 

 

.You have connected two terminals of different types

(The type of the source is 1D array of single[32-bit real(6 digit precision

(The type of the sink is double[64-bit real(15 digit precision

 

Any help will be appreciated regarding how to solve this error.

0 Kudos
Message 1 of 6
(3,205 Views)

Hi sa,

 

either use a loop around this AO function - or use a different mode of the AO function which accepts an array (like "n samples")…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,202 Views)

can you give me more detail about how to do either of the two options you listed. I am a kind of newbie to the LabView.

0 Kudos
Message 3 of 6
(3,192 Views)
Solution
Accepted by topic author Sa05999

Hi sa,

 

I am a kind of newbie to the LabView.

- Using loops and "autoindexing" is explained in the "Getting started" section in the header of the LabVIEW board…

- The AO function looks like an ExpressVI - usually you can configure them after a double-click…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,179 Views)

Thank you for your help, I download  NI High Throughput so I can choose Analog Output (N Samples). The problem was solved, but unfortunately, another problem popped up regarding ThinkGear librarySmiley Sad .

0 Kudos
Message 5 of 6
(3,128 Views)

What error are you seeing?

 

Nick

Applications Engineer

0 Kudos
Message 6 of 6
(3,111 Views)