LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is there any way to control the duration of each bit when it is high or low on a DAQmx write function

Hello Casu,

I would recommend you to stay with DAQmx, it's a much stronger/better/reliable/multithreaded driver than Traditional DAQ. Eventually we will drop support for Traditional DAQ, so again I would encourage you to stay with DAQmx. Let me know what error number you are getting when trying to run the example I sent you so that I can help you out. That example allows you to generate pulses and change its frequency and duty cycle on the fly, just like you wanted.

Regards,

LA
0 Kudos
Message 11 of 14
(618 Views)
thanks LA for the responce. I tried to run the program you have sent , but gives me error. the error says " error -200220 occured at DAQmx create channel (co-pulse generation-frequency)vi. device identifier is invalid" . I tried to create a virtual channel on measurement and automation for a COUNTER but again it says no supported device found. it works only for traditional DAQ. thats why I start working on traditional .I dont know why it doesnt work for DAQmx. may be the DAQ card (pci-6602)I am using doesnt support or need some configuration. i need your help please.
thanks
casu
0 Kudos
Message 12 of 14
(612 Views)
Hello Casu,

The 6602 is supported for DAQmx. What version of the drivers do you have? Make sure you have NI-DAQ 7.3 installed which you can download from here

Do you see a DAQmx folder in Measurement and Automation Explorer? You should be seeing something like what I am attaching below.

Please let me know.

Thanks,

LA

P.S to attach a file to a thread just use the "Attachment" string found at the bottom of the Text Box where you write messages.
0 Kudos
Message 13 of 14
(600 Views)
great thanks LA . the driver wasnot loaded. I did it as you told me and cheked the attached example it works . I still need help if you are not tired of me how can I modify the example you have sent to generate 0 1 1 0 1 0 on one channel.
thanks
casu
0 Kudos
Message 14 of 14
(581 Views)