Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

how to write in DAQ ports?

Hello,
 
I would like to write a short binary number (for example : 0110) to the DAQ card to control a camera. This number is a command.
I use a PCI-6034E card. I don't know how to do that, I tried to write directely to the port but it didn't works.
 
Thanks for your helping.
 
BD.
~ La programmeuse compile le C. ~
http://www.pmeonline.fr.st
http://www.nihon-fr.com
http://www.cinemasie.com
http://ippai.free.fr
0 Kudos
Message 1 of 4
(3,337 Views)
Hello,
 
If I understand well your question, you want to write on the digital port of your PCI-6034E Card.
To do that, you should use the DAQmx functions provided with NI-DAQ Driver.
 
Please find enclosed a LabVIEW example using these functions to write on a digital port.
 
Best Regards,
Benjamin M
NIF
Message 2 of 4
(3,312 Views)

thank you very much Benjamin M.

BD.

~ La programmeuse compile le C. ~
http://www.pmeonline.fr.st
http://www.nihon-fr.com
http://www.cinemasie.com
http://ippai.free.fr
0 Kudos
Message 3 of 4
(3,304 Views)

i try your vi, and it is exactly what i was looking about, thank you very much again.

 

BD.

~ La programmeuse compile le C. ~
http://www.pmeonline.fr.st
http://www.nihon-fr.com
http://www.cinemasie.com
http://ippai.free.fr
0 Kudos
Message 4 of 4
(3,300 Views)