LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XP Style NI-VISA Control

I'm upgrading a bunch of old 7.0 utility programs that use the Classic control palette.  Most of these involve some sort of RS-232 based I/O, and used the old-style serial I/O functions.  I've been upgrading them to use VISA, and noticed that there is no System version of the VISA I/O control.

 

I searched the forums, and didn't find any examples or solutions for an 'XP' style VISA control.  The UIs I've upgraded looked sort of goofy with all of the controls as System and a Modern style VISA selector, so I tinkered around a bit and created a custom version of the NI-VISA control.

 

Maybe there is a way to do this natively, but I couldn't find it Smiley Sad

 

See attached (LabVIEW 8.6.1f1)

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Message 1 of 10
(5,660 Views)
You're right in that there is no "System" version of the VISA Resource control. There's lots of controls that don't have a "System" version as it's not all that practical for NI to create System versions. Your version looks quite good. What I've seen done as an alternative is to use a System enum or ring and to populate it when the program starts up by using the VISA Find Resource function.
0 Kudos
Message 2 of 10
(5,642 Views)

Philip, could you add these to the UI Interest Group?

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 10
(5,464 Views)

XP Style NI-VISA Control

XP Style Timestamp Control


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Message 4 of 10
(5,440 Views)
Could someone resave the VISA controll for Labview 8.5, please? I would love to use this one in my application. Thanks in advance
0 Kudos
Message 5 of 10
(4,831 Views)

no problem

 


"Should be" isn't "Is" -Jay
Message 6 of 10
(4,806 Views)

Awesome ! But how did u do it ?

0 Kudos
Message 7 of 10
(4,127 Views)

@Rahulbala wrote:

Awesome ! But how did u do it ?


What is "it"?  What are you asking?

0 Kudos
Message 8 of 10
(4,088 Views)

Hi PhillipBrooks,

                   Good job!

                   Could you explain about VISA control, how do customize with an image.

                   There is no image customization option in it.

0 Kudos
Message 9 of 10
(3,474 Views)

A hearty thank you in 2020!

0 Kudos
Message 10 of 10
(2,593 Views)