LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error during writing digital output in usb-6343

Solved!
Go to solution

PFA LV10 VIs. While downgrading, it has shown a warning about the DAQmx polymorphic VIs. So I dont know if everything will work fine. Just seek the logic out of it and make your own code. 

Download All
0 Kudos
Message 11 of 17
(1,041 Views)

hey.. 

first of all i like to apreciate you for your front panel. it's realy so good.Heart

Beside this problem if you can give me some tips regarding it? this will be grateful.

 

yet i only check "Digital - Finite Output". so can you tell me why we keep 100ms delay..? what is its min  value..? we have any data for USB 6343 daq..?

 

regards,

0 Kudos
Message 12 of 17
(1,037 Views)

continue...

in your earlier post you said.

 


 

 

Query 2:
You must write to the buffer before starting the task. i.e. in the virtual channel, DAQmx Write function should come before the DAQmx Start function.


 

this is opposite to your Vi. so what is right thing..?

 

 

0 Kudos
Message 13 of 17
(1,030 Views)
Solution
Accepted by d_2014

1. Thank you for the compliment. But, the VIs I have posted are Sample examples in LabVIEW, so I cant take the credit for the UI. Smiley Wink

 

2. If you are using Hardware timed finite samples mode, write to the buffer then start the task. If you are using software timed (i.e. not putting the sample clock) you must start the task outside the loop, then write in the loop as many times as you want. 

 

3. Since software timing is implemented using wait function which takes input in milliseconds, maximum you can go is 1 ms which is 1 kHz.

 

4. The USB-6343 spec says "48 digital I/O lines (32 hardware-timed up to 1 MHz)". So, software timing may not be supported. 

0 Kudos
Message 14 of 17
(1,025 Views)

hey,..

 thanks for point 2.. it is really helpful.

so if i have to go more than 1Khz, i have to use hardware timing.?

 

regards & thanks,

0 Kudos
Message 15 of 17
(1,017 Views)

Yes. That is correct. 

0 Kudos
Message 16 of 17
(1,011 Views)

thanks a lot vkatre.... i solved my doughts here.. it is just small part of my task.

 

thanks & regards,

0 Kudos
Message 17 of 17
(1,000 Views)