04-26-2006 10:57 PM
2) Communicate using Funcation Call control
Seeking for LV expert to share some experiences if any. OR any suggestion to work out on this communication on this project.
Thanks & have a nice day.
04-27-2006 12:42 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
04-27-2006 05:15 PM
05-02-2006 03:38 AM
I had tried so many method, using TCP/IP communication, Function call & also the measurement & automation program. Still unable to get what I wanna to retrieve.
But when I using Adam Utilities program sending the same data, it reply exact data to me.
Attach my vi file. please help
05-02-2006 05:28 PM
0 | Standard (default)—Waits until all bytes you specify in bytes to read arrive or until timeout ms runs out. Returns the number of bytes read so far. If fewer bytes than the number of bytes you requested arrive, returns the partial number of bytes and reports a timeout error. |
1 | Buffered—Waits until all bytes you specify in bytes to read arrive or until timeout ms runs out. If fewer bytes than the number you requested arrive, returns no bytes and reports a timeout error. |
2 | CRLF—Waits until the function receives a CR (carriage return) followed by a LF (linefeed) within the number of bytes you specify in bytes to read or until timeout ms runs out. Returns the bytes up to and including the CR and LF. If the function does not find a CR and LF, returns no bytes and reports a timeout error. |
3 | Immediate—Waits until the function receives any bytes. Waits the full timeout only if the function receives no bytes. Returns the number of bytes so far. Reports a timeout error if the function receives no bytes. |
03-03-2008 12:56 PM
hi,
did you manage to solve the problem steven ? i'm using your .vi for reading some thermocouples on a adam 6018 board and i'm having the same problems, error 56 😐 using the lv library for trying read from a tcp ip/port i can't get anything either
03-04-2008 06:26 PM
03-05-2008 07:59 AM
It has been years since I touched one of those but if memory serves me (highly questionable) the ADAM devices either talk datasockets or modbus.
Try those services before attempting to re-invent the wheel.
Ben
04-08-2012 12:38 AM
I am having similar problems communicating with an ADAM-6015. I have read that section that Wendy L pasted into her reply but it doesn't help me. I don't know how many bytes are coming and I don't know if the ADAM is sending strictly ASCII, or if it isn't how I might force it to do so. I tried the VI using all the different settings for the read mode (standard, buffer, CRLF, immediate) but nothing worked. My module definitely works so it isn't that.
I don't have the LabVIEW real time module, I don't know if that is required, I am on a 30 day licence and it is rapidly running oout and I haven't even managed to interface my hardware - I thought it would be easier than this to be honest, I guess there is a bit of a problem area with the Modbus TCP comms that isn't so straightforward.
Hoping someone who has successfully communicated with their ADAM-6000 series module using modbus TCP can provide me with a working VI that I can adapt to my own pretty simple needs would be good start, but as I say not sure I really have time to develop the package much further before my time runs out...
04-08-2012 11:46 AM
I recommend downloading the ADAM .NET class library from Advantech, and use that instead of the LabVIEW Modbus library. I used it two years ago to allow my LabVIEW code to communicate with an ADAM-5000. It appears the same library supports the 6000 series as well. I just checked, and Advantech now provides LabVIEW examples. The Modbus examples look easier to follow than the ASCII one.