LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help Greek Character Mu( μ ) input to VISA write

Solved!
Go to solution

Hi there

 

I'm trying to write a command to an instrument to set internal triggered delay to some time in micro (μ) seconds, miliseconds and nanoseconds by using this string format: SOURce1:BURSt:TDELay 20 ns.

 

The inputs for the delay timing are: <units>::=[s | ms | μs | ns]

 

The code successfully writes everything from seconds (default value), miliseconds and even nano seconds but when i try to do micro (μ) seconds labview it reverts to the default value of seconds....

 

I know the ASCII character for mu is 230 but i don't know a way to input this into labview 2012. 

I have gone on a couple of different forum topics but have not been able to successfully implement a solution yet. 

 

 

Any help would be greatly appreciated

 

 

0 Kudos
Message 1 of 14
(5,620 Views)

Set your string constant to hex display and enter E6 at the correct spot in the string.  This is the hex value for the decimal value 230.

0 Kudos
Message 2 of 14
(5,619 Views)

When i did that the output in the probe was "æ". 

0 Kudos
Message 3 of 14
(5,600 Views)

One problem you might have is that anything above 128 on the ASCII character set is part of the extended character set.  And there is no established standard as to what characters go where.  So you say that decimal 230 is the mu character.  Are you sure that is the byte value the device is looking for?  It might be that the character set that your PC is using has the character ae as the character for that ASCII value.  That is the character that shows up for me when I look at Windows character map.

 

It doesn't matter what the character looks like to you on the screen, as long as you are sending the correct byte value to the device in the serial string.

 

So you need to look at the manual for the device and see what it expects to send.  I find it particularly odd that the device is expecting you to send a greek character as part of the string when the everything else is being sent as normal digits or alphabetic characters.

0 Kudos
Message 4 of 14
(5,593 Views)
Solution
Accepted by proph
I would suggest that you attempt sending a u. It would be very strange to send the greek character.
Message 5 of 14
(5,591 Views)

I don't belive it...Smiley Frustrated

using a"u" worked. Good call sir lol

 

Thank you all for your time and energy reading and responding to my post. 

It's astonishing that labview doesn't support greek letter inputs or provide a symbols palate.

0 Kudos
Message 6 of 14
(5,571 Views)

@proph wrote:



It's astonishing that labview doesn't support greek letter inputs or provide a symbols palette.



LabVIEW does support Greek letters or other symbols.  They are all part of fonts, which you can change for different controls.  What you are dealing with has nothing to do with fonts, but the basic ASCII character set.

Message 7 of 14
(5,566 Views)

Once again, Dennis is the kitten's μ 🙂

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 8 of 14
(5,555 Views)
Lol
0 Kudos
Message 9 of 14
(5,546 Views)

@proph wrote:

I don't belive it...Smiley Frustrated

using a"u" worked. Good call sir lol


Every instrument I have worked with uses "u" for micro.  Reason being that they want to stay with the standard ASCII character set, which μ is not in.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 10 of 14
(5,542 Views)