Jump to content


Photo
- - - - -

OpenG LabVIEW Data Library 4.1.0.16 Release

release openg lvdata

  • Please log in to reply
5 replies to this topic

#1 jgcode

jgcode

    LabVIEW Renegade

  • OpenG
  • PipPipPipPipPipPip
  • 2,397 posts
  • Location:Australia
  • Version:LabVIEW 2009
  • Since:2005

Posted 08 October 2011 - 09:19 AM

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

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.

Variant to Enum VIs.png TD to Enum VIs.png
Get Refnum Type Enum From Data Help.png
Get Waveform Type Enum From Data Help.png
Get Refnum Type Enum From TD Help.png
Get Waveform Type Enum From TD Help.png

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

Get Default Data from Variant.png

Get Default Data from Variant Help.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.
Variant Constant.png

Here is a Test:

Variant Constant Test.png


Kind regards

Jonathon Green
OpenG Manager

#2 jgcode

jgcode

    LabVIEW Renegade

  • OpenG
  • PipPipPipPipPipPip
  • 2,397 posts
  • Location:Australia
  • Version:LabVIEW 2009
  • Since:2005

Posted 09 October 2011 - 02:56 AM

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

#3 drjdpowell

drjdpowell

    The 500 club

  • Premium Member
  • 543 posts
  • Location:Oxford, UK
  • Version:LabVIEW 2011
  • Since:1999

Posted 24 January 2012 - 09:55 PM

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”?

#4 jgcode

jgcode

    LabVIEW Renegade

  • OpenG
  • PipPipPipPipPipPip
  • 2,397 posts
  • Location:Australia
  • Version:LabVIEW 2009
  • Since:2005

Posted 24 January 2012 - 10:14 PM

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.

#5 drjdpowell

drjdpowell

    The 500 club

  • Premium Member
  • 543 posts
  • Location:Oxford, UK
  • Version:LabVIEW 2011
  • Since:1999

Posted 24 January 2012 - 10:30 PM

“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, 24 January 2012 - 10:33 PM.


#6 jgcode

jgcode

    LabVIEW Renegade

  • OpenG
  • PipPipPipPipPipPip
  • 2,397 posts
  • Location:Australia
  • Version:LabVIEW 2009
  • Since:2005

Posted 26 January 2012 - 01:32 AM

“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 :)





Also tagged with one or more of these keywords: release, openg, lvdata