LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting csv files to signals

when I send the waveform to the compact daq it shows the error 200077.  This is what it says

0 Kudos
Message 11 of 31
(1,739 Views)

Post your VI so we can see what you are doing.

Message 12 of 31
(1,732 Views)
0 Kudos
Message 13 of 31
(1,719 Views)

Check the channels you have assigned to each DAQ assistant.  It looks like both DAQ assistant4 and DaqAssistant are assigned to cDAQ2Mod1/ao1.

 

But in reality, you should not be using 4 different DAQ assistants to do analog ouputs on 4 different channels of the same device.  You would probably getting timing errors, and a message such as -50103 about a resource being reserved (the timing engine of the DAQ device.)

 

You should have one DAQ assistant that incorporates all 4 channels and merge your signals into a single wire that you feed to that DAQ assistant.

Message 14 of 31
(1,716 Views)

One of the problems turned out to be sample rate, but just in case that problem turns out how do you merge all the signals into one wire?

0 Kudos
Message 15 of 31
(1,712 Views)

Merge signals is a part of the Express VI palette.

Message 16 of 31
(1,705 Views)

Once I merge the signals, how do I designate which channel each of the four signals goes to?

0 Kudos
Message 17 of 31
(1,687 Views)

It turns out that the number of daqassistants isn't the problem.  I tried the vi with only one channel and the same error appeared.

0 Kudos
Message 18 of 31
(1,686 Views)

@ishironagasaki wrote:

Once I merge the signals, how do I designate which channel each of the four signals goes to?



The order of the signals in the merge function will match up 1:1 with the order the channels are defined in the DAQ assistant.

 


@ishironagasaki wrote:

It turns out that the number of daqassistants isn't the problem.  I tried the vi with only one channel and the same error appeared.


Maybe not yet.  You might be running up against the first problem and that is stopping the code from running before the second error has a chance to appear.

 

 

0 Kudos
Message 19 of 31
(1,679 Views)

Can you attach one of your files? You are reading the file as integers. That does not look correct at all based on the image of the Excel files you posted.

0 Kudos
Message 20 of 31
(1,672 Views)