Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

ni-imaq pci1422 serial port

How do I program the PCI1422 serial port through NI-IMAQ? The card's User Manual sez the RS-232 Serial Interface (UART) is accessible through NI-IMAQ driver (pg 3-3), but there is no reference in NI-IMAQ User or Ref. mans.
(NI-IMAQ rev. 2.5)
Only info I could find was the file SerialControl.txt in \bin of distro directory.
0 Kudos
Message 1 of 3
(3,461 Views)
Nathan,

You can have access to the serial interface through imgSessionSerialWrite and imgSessionSerialRead in IMAQ.dll. These low-level functions are not documented because most of the serial communications should be taken care of by the camera file. This function is still available for use when serial commands needed are not implemented.

For LabVIEW, you can find these low-level VIs in \vi.lib\vision\driver\imaqll.llb

Hope this helps.
Ken
Applications Engineering
National Instruments
0 Kudos
Message 2 of 3
(3,461 Views)
Thanks very much for speedy your reply. After your response I went and found the prototype in niimaq.h, duh. I will contact camera vendor for info on access through camera attributes (no doc yet on these).
0 Kudos
Message 3 of 3
(3,461 Views)