LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulated brain signal hardware error

hi guys,

I hope all of you are fine. I am trying to generate waveform as the brain signal. I have the data set of the time and the values of the signal in y- axis.

 

In simulation of vi file its executed ok. for your information the the signal is periodic and it's repeated sequence.

 

In hardware NI DAQ (that is connected using usb to the computer and the output is analog signal.)

 

 

it gave me error -200292 DAQmx  write. I tried to make the writing time bigger but still there is problem

 

 

TIA

 Ahmed

 

 

 

 

 

0 Kudos
Message 1 of 6
(2,890 Views)

I'll copy my reply to the previous post.

 

"A compact DAQ 9178 is just a chassis.  Which cDAQ modules are you using in it?

 

100,001 samples may just be too many for the size of the buffer.  Did you try any of the hints in the error message for -200292 such as increasing the Write timeout?  You have a dx of 300 microseconds, but 100,001 samples.  So that would take 30 seconds to run.  That is longer than the typical write timeout of 10 seconds."

 

So please answer the question as to what compact DAQ module you are using.

 

Suppose you only write a fraction of your waveform, wait a bit, then write some more of the waveform.

0 Kudos
Message 2 of 6
(2,887 Views)

Hello ,

 

 

thank you for your help.

 

 

about the module I use

cDAQ (NI 9263)

so the module is ni 9263

 

 

and i tried the hint above and still not worked

 

 

Regards

Ahmed

 

0 Kudos
Message 3 of 6
(2,860 Views)

The specs for that device say it is capable of 100 KS/sec, so I expect it would have a buffer larger enough to handle 100K samples.

 

Can you post your VI where you actually write out the waveform to your DAQ board?

0 Kudos
Message 4 of 6
(2,852 Views)

Hello,

 

 

I tried also today. here is attached the latest file I have done it

 

 

thanks

0 Kudos
Message 5 of 6
(2,834 Views)

I can't actually run your VI since I don't have your DAQ module, or actually any DAQ hardware connected to this PC.  I did try running it with a simulated DAQ device and I didn't see any errors the first time I ran it.  But the second time and later, I got error -200560 "Wait Until Done did not indicate that the task was done within the specified timeout.

Increase the timeout, check the program, and make sure connections for external timing and triggering are in place."

 

I think you should consider getting away from the DAQ assistant express VI and work with some lower level DAQmx VI's.  There are a number of examples in the example finder.  Try feeding it only a few thousand samples at a time, or a few seconds worth, monitor the number of bytes in the buffer and add more samples until you've completed your waveform.

 

Perhaps someone with the same DAQ hardware as you have can try experimenting with your VI to see if they get the same error.

0 Kudos
Message 6 of 6
(2,825 Views)