Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/18/2010 in all areas

  1. Hi Guys Attached is a package that installs a palette in user.lib to expose the Variant Data Type API found in vi.lib\Utilities\VariantDataType. Enjoy -JG jgcode_fix_ni_variant_data_type-1.5-1.ogp [LabVIEW 8.2+]
    2 points
  2. Like Francois said, the downcast prim is based on wire type, not object type. Try using the Preserve Run Time Class prim to get the behavior you expect.
    1 point
  3. Hi Jon, You typecast from LVObject to LVObject, so I'd expect that you don't get an error for that with "To More Specific Class" prim. I suspect there would be a significant increase in overhead if this primitive were to dynamically check for the class hierarchy when it's fed with LVObject. It seems to me that this is like a using the code below: <a href="http://content.screencast.com/users/normandinf/folders/Jing/media/7a120e9c-2ed5-448a-973c-9971c69993b2/class%20typecast.png"><img'>http://content.screencast.com/users/normandinf/folders/Jing/media/7a120e9c-2ed5-448a-973c-9971c69993b2/class%20typecast.png"><img class="embeddedObject" src="http://content.screencast.com/users/normandinf/folders/Jing/media/7a120e9c-2ed5-448a-973c-9971c69993b2/class%20typecast.png" width="452" height="249" border="0" /></a> While the other case is clearly wrong as expected. In my opinion, this is not a bug in the behavior of the primitive but perhaps a bug in documentation?
    1 point
  4. The typo was on purpose to see if anyone would notice. It worked!
    1 point
  5. Public Service Announcement <object id="scPlayer" class="embeddedObject" width="378" height="333" type="application/x-shockwave-flash" data="http://content.screencast.com/users/jgcode/folders/LAVA%20CR/media/3cd7631c-c3b5-4dda-8550-d8774d332741/jingswfplayer.swf"> <param name="movie" value="http://content.screencast.com/users/jgcode/folders/LAVA%20CR/media/3cd7631c-c3b5-4dda-8550-d8774d332741/jingswfplayer.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#FFFFFF"> <param name="flashVars" value="thumb=http://content.screencast.com/users/jgcode/folders/LAVA%20CR/media/3cd7631c-c3b5-4dda-8550-d8774d332741/FirstFrame.jpg&containerwidth=378&containerheight=333&content=http://content.screencast.com/users/jgcode/folders/LAVA%20CR/media/3cd7631c-c3b5-4dda-8550-d8774d332741/L-VOOP.swf&blurover=false"> <param name="allowFullScreen" value="true"> <param name="scale" value="showall"> <param name="allowScriptAccess" value="always"> <param name="base" value="http://content.screencast.com/users/jgcode/folders/LAVA%20CR/media/3cd7631c-c3b5-4dda-8550-d8774d332741/"> </object>
    1 point
×
×
  • Create New...

Important Information

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