Jump to content
Sign in to follow this  
jgcode

OpenG LabVIEW Data Library 4.1.0.16 Release

Recommended Posts

This package will be available for download through VIPM in a few days and covers some bug fixes, performance updates, and new VIs.

post-10325-0-02209800-1318065490_thumb.p

Waveform and Refnum Subtype Enums

There are now new VIs and Enum Controls for determining the sub-type of Waveforms and Refnums datatypes. These VIs were designed by Jim Kring and solve the issue of parsing such datatypes as e.g. Timestamp (Waveform subtype) and VISA (Refnum Datatype). This will allow OpenG support such (sub) datatypes in e.g. Format To String.vi in the near future.

post-10325-0-74068000-1318064102.pngpost-10325-0-37557900-1318064100.png

post-10325-0-09648500-1318064093_thumb.p

post-10325-0-11612900-1318064534_thumb.p

post-10325-0-17020400-1318064094_thumb.p

post-10325-0-13041700-1318064097_thumb.p

Get Default Data from Variant

This VI forms a thin wrapper around the Get Default Data from TD.vi complementing the Variant API nicely. You can

post-10325-0-12547200-1318064090.png

post-10325-0-15327100-1318064089.png

New Variant Constant Image

The Variant Constant image has been updated to be inline with the change made in a previous LabVIEW version both in the palette and on the block diagram.]

There is no functional difference between the two constants.

post-10325-0-96983400-1318064101.png

Here is a Test:

post-10325-0-08059600-1318064101.png

Kind regards

Jonathon Green

OpenG Manager

  • Like 1

Share this post


Link to post
Share on other sites

Mad props to AQ for helping me out with all my LabVIEW Refnum questions on this one :beer:

Share this post


Link to post
Share on other sites

Small question: If I feed a LVOOP object (which is a “Refnum” type) into “Get Refnum Type Enum From Data”, it comes out as “Only Used Internal to LabVIEW”. Should this not be “LV object”?

Share this post


Link to post
Share on other sites

Small question: If I feed a LVOOP object (which is a “Refnum” type) into “Get Refnum Type Enum From Data”, it comes out as “Only Used Internal to LabVIEW”. Should this not be “LV object”?

All I can say, at this point in time is, that a lot of the info for those VIs was kindly donated, and that was a specific request that came with it.

Share this post


Link to post
Share on other sites

“Only Used Internal to LabVIEW (oh, and, shhh… LV objects) :shifty:

— James

P.S. I’m actually about to use this, and it’s going to look funny when I have a case labeled “Only Used Internal to LabVIEW” where I try and cast my Variant into a LVobject.

Edited by drjdpowell

Share this post


Link to post
Share on other sites

“Only Used Internal to LabVIEW (oh, and, shhh… LV objects)

No its not like that at all - its about the reliability of that result (more so in the future) as the int16[] is deprecated.

-> Use at your own risk :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.