10-06-2003 05:44 AM
10-06-2003 10:04 AM
10-07-2003 01:07 PM
10-08-2003 11:37 AM
01-13-2006 05:57 PM
07-16-2007 02:01 PM
09-26-2007 04:34 PM
10-03-2007 02:31 PM
10-03-2007 02:57 PM
10-04-2007 10:19 AM
Sima,
You are right in part. I am essentially using the "older" ASAP3 protocol to encode the messages that I am sending to INCA. The VI, however, is communicating with the ASAM-MCD-3MC interface which, at this point, is still compatible with both standards. From what I can tell the ASAM-MCD-3MC standard simply adds functionality to the old ASAP3 standard, and up to this point the simple commands that I am using appear to be identical for either standard. At any rate, the implementation in LabView is the same whether you use ASAP3 or ASAM-MCD-3MC only the physical messages that you send to INCA may vary somewhat.
Thank you for attaching the INCA VIs I think that I will be able to use them for what I am doing, and you may be able to modify them slightly to use ASAM-MCD-3MC. From the attached VI you'll see that I am using the same approach, but using the TCP modules and a slightly more brutish method of hardcoding the packets to be sent. Your VIs will be very usefull in making the process a little more versatile.
A few notes about my VI: I don't know how familiar you are with the ASAM-MCD-3MC 4 INCA interface, but you will have to follow the procedure outlined in the INCA manual for setting up the client and server through the DCOM config. Also, if you are running a firewall you will have to unblock LabView on the client computer and INCA on the server computer. You may have to manually open up port 22222 on both computers as well. Once you have done this, you need to run INCA on the server computer and open the experiment that you want to use. From within the experiment environment you can run the ASAM-MCD-3MC 4 INCA interface. Once the interface is running and online, you can run the VI on the client computer; it will establish the TCP connection, sent an INIT command, and then close the connection. If everything is configured correctly, you should get the following messages:
10/4/2007 10:10:53 AM,579381 Status: aaaah -> Command received
--------------------------------------------------------------------------------
10/4/2007 10:10:53 AM,579929 Command 2: INIT
--------------------------------------------------------------------------------
10/4/2007 10:10:53 AM,596489 Answer for command 2: INIT
Status: 0h -> Success
--------------------------------------------------------------------------------
Thank you again for the VI library. I will see if I can get them to work with my VI. Let me know if I can be of any help.