11-20-2007 02:36 AM
Thank you for responding,
can you tell me please what to try out in hyperterminal? what should i type?
11-20-2007 08:45 AM
10-30-2008 09:42 AM
Hi,
I am trying to establish communication via an RS-232C port between my computer and an IX81 microscope using Labview without much success. Actually I am connected to the microscope control box (IX2-UCB). I downloaded the olxx2 VI set. You were mentioning that we just had to add a string CR LF somewhere in the program. Can you be more precise?<
Thank you in advance,
Pierre
10-30-2008 02:56 PM
Hi Josh,
This forum was quite interesting. I am still struggling trying to get the IX81 working with LabView. Would you mind sharing with me your new Command.vi described in your e-mail?
Thank you in advance,
Pierre
10-30-2008 04:51 PM
If you had checked, you would have seen that Josh has not logged in for two years.
If I remember correctly, what you want to do is pretty trivial. The function has a string input wired to a VISA Write (or womething equivalent). Instead, wire this to a concantanate string function and wire the CR and LF constants to other inputs of the concantanate string function. The constants are on the string palette. Wire the output of the concantanate string function to the VISA Write.
If you continue to struggle, attach the VI you are trying to modify.
10-30-2008 08:20 PM
Hi Dennis,
Sorry for the mistake...
I already tried the Concatenate function, but without too much success. I have to admit though that I am not the greatest Lab View expert.
I used Portmon to spy the Olympus software (in my case, "In Vivo"). I tried different combinations with the Concatenate function to try to mimic the real command that is sent to the microscope, e.g.:
"1SHUT1 OUT.." (finishes with two points)
Here is one combination that I tried:
"1SHUT1 OUT" (string) + "\n\r" (string)
Unfortunately that was not successful
Maybe I am missing something obvious...
Thank again for your precious feedback and expertise,
Pierre
10-30-2008 09:10 PM - edited 10-30-2008 09:12 PM
Attach what you've done (The 'Attach' link right below the message body). I don't have the instrument but maybe I can see something you did incorrectly.
Also, verify your settings and serial cable by using Hyperterminal first. It does no good to try LabVIEW if you can't communicate with Hyperterminal. The instrument settings may not match or you could be using the wrong type of serial cable.
09-04-2012 03:35 PM
Does anyone have the Olympus Command.vi file with the correct fix for programming an Olympus IX2-UCB connected to an IX81-ZDC2? I could not follow what needed to be changed within the subVIs in terms of the carriage returns and line feeds. Any help would be appreciated as well.