LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set the Dev Number for Adams when they are connected with COM2?

Hello!

If I use COM1 and COM2 both with Adam Modules, how should I set the
inside
Addresses for them? And what kind of Dev Num should I set up for the
Device Open.vi ?

I know the Dev Num should be set as Inside Address*1000, but the
problem is that for COM2 this subVI always shows error " Configuation
Data lost", I don't
where someting wrong is.


Le
0 Kudos
Message 1 of 2
(2,526 Views)
If your code works when talking to one com port but fails with the other one, I would suspect a port problem like the port is already in use or perhaps doesn't exist. This is especially easy to have happen if you are using a PXI chassis because there's some built-in abiguity as to the numbering of the serial ports. The ports are identified in the OS as Com 0 and COM 1, whereas the ports on the front of the chassis are labled 1 and 2....

Neat huh???

Hope this helps...
Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,526 Views)