10-07-2011 05:02 AM
Are you able to use VISA to pull up a list of serial devices. Using the VISA Find Resource Function. Owning Palette: VISA Advanced VIs and Functions
Use Context help for help on this function
10-07-2011 05:06 AM
Yes, ive done it, and it lists all serial ports in the device. Ive connected mesurement device to COM7 and because the resource name is ASRL7::INSTR. I am using now, the example VI. I gave 500ms delay, to have time to read the input. But the program indicates, that theres is no byte or string on the input...
10-07-2011 06:15 AM - edited 10-07-2011 06:17 AM
Are you sure your cable is 100% correct 😉 For PC to PC communication you need a null modem cable or crossed cable. Google Null modem cable. In its simplest form with all handshake turned of you only need to use pin 2,3 and 5 You may also connect pin 2 and 3 together on a simple plug to dreate a loop back test
10-07-2011 06:23 AM
Yes i am sure the cable is good, because its from the mesurement devices's distributor, and with that program what they gave its working. I checked the states of the cable lines, and its indicates which lines are asseted or not. The "only" problem is that the input string and bytes cant be read