07-23-2007 03:48 PM
07-23-2007 04:03 PM
07-23-2007 04:04 PM
07-26-2007 04:02 PM
@smercurio_fc wrote:
I assume whatever you're talking to is not a message-based device (as in sending "VOLT 3" to set the voltage to 3 V), but rather some sort of code-based device (as in "A8 03" where A8 is the command to set the voltage and 03 is the voltage value)?
Yes, the device is code based. Hence my first desire to want to have direct control over setting/clearing individual bits.
@mikeporter wrote:
Concerning your question 1: You can define the characters that are being sent. In addition, a serial interface has several hardware handshake lines with names like RTS or CTS. LV can also control these. The manual on the device that you are controlling should tell you what to send to communicate with the device.
So if I want to send "00000001" [which is the SOH in Ascii] I would be able to do that? So far I have only succeeded in entering keyboard characters (like numbers and letters and reading signs), any tips to get those other codes as well (for SOH, DEL, NUL, ...)?
The device is "homemade" and has no manual to speak off, but the handshake signals are connected, because LabVIEW (or windows) espects them to be present, despite them not being used.
@smercurio_fc wrote:
What is "the rest of the system"?
A box with a microprocessor who decodes the LabVIEW signals and who send wireless signals to several clocks.
@smercurio_fc wrote:
For question 2: I'm trying to wrap my head around what you're asking, but I'm confused, and I believe it's because of terminology. I think you're talking about tabs and/or subpanels, but I'm not sure. If that's the case, then both of these are available with LabVIEW. You should take a look at the user interface examples that ship with LabVIEW.
If they are in LabVIEW 7.1, then I'll have no problem finding them.
07-26-2007 04:15 PM - edited 07-26-2007 04:15 PM
You can send anything you want with the VISA Write function. You have several options:
1: If you have a string control/constant, you can right click on it and select Hex Display.
2. If you want to use a numeric control/constant, you can use either the Type Cast or the Byte Array to String function.
Message Edited by Dennis Knutson on 07-26-2007 03:16 PM
07-31-2007 05:29 AM
HI
Even i have the same question . can v control the bits of rs232 . i mean can v ourself set or reset the bits of different pins of 9 pin rs232.
regards
AVINASH
07-31-2007 10:18 AM
For the same question, I would give the same answer. See above...
Mike...
07-31-2007 11:00 AM - edited 07-31-2007 11:00 AM

Message Edited by tbob on 07-31-2007 09:02 AM