Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/12/2011 in Posts

  1. This is not a bug. Rings are not bound to the string values like they are in an enum. This is why you can change the strings in the ring, but can't change the strings of an enum at runtime. LV's Help explains it better. See: "ring controls, compared to Boolean and enumerated type controls " in the LabVIEW help.
    2 points
  2. Top level VI - no controls or indicators at all. Function loops - the thing on the bottom left of the above VI with a big green arrow. The GUI. One of the VIs in the above VI.
    1 point
  3. If you change the cRIO IP address using MAX, does your cRIO executable code stop working? If this is the case, you might want to consider the following (although at this time this might be too much work for your project). Instead of using "naked" share variable, use the share variable API (Function>>Data Communication>>Share Variable). By using this palette function you are able to use string "path" reference (NI Call this this string the "Share Variable reference In") to address the share variable. This string path reference look like this: ni.var.psp://IP Address/Mod#/IOName. So for instance: For code running in the cRIO, the IP address will be 127.0.0.1. For code running in the laptop the IP address will be the cRIO IP [ex: 192.168.10.125]. Mod# is the module number (ex: Mod2). IOName is the name that you gave that specific IO on that specific module (ex: External Interlock Status) Withe the above parameters: in the cRIO the SV path reference is: ni.var.psp://127.0.0.1/Mod2/External Interlock Status in the laptop this would be: ni.var.psp://192.168.10.125/Mod2/External Interlock Status If you do something like this, you can the store the cRIO share variable configuration string path reference in ini files (possibly one for the cRIO itself and one for the laptop). Now when you change your cRIO IP Address, you just need to change your IP address in your laptop ini file and everything will work fine. I am using this method on a shipping instrument that can have various IP address and this method works great. I Hope that this help. PJM Note: Now, the crazy/cool thing with that approach is depending on what is in your cRIO code, you could potentially run part (or all) of the cRIO code directly into the laptop by replacing the cRIO IP Address from 127.0.0.1 to its "real" one (ex: 192.168.10.15).
    1 point
  4. An a small demo. (sorry no sound: couldn't risk waking up the lady:P) <object width="1010" height="578"> <param name="movie" value="http://content.screencast.com/users/normandinf/folders/Jing/media/56068fce-b3d2-4b2e-933f-960b956a613a/jingswfplayer.swf"></param>'>http://content.screencast.com/users/normandinf/folders/Jing/media/56068fce-b3d2-4b2e-933f-960b956a613a/jingswfplayer.swf"></param> <param name="quality" value="high"></param> <param name="bgcolor" value="#FFFFFF"></param> <param name="flashVars" value="thumb=http://content.screencast.com/users/normandinf/folders/Jing/media/56068fce-b3d2-4b2e-933f-960b956a613a/FirstFrame.jpg&containerwidth=1010&containerheight=578&content=http://content.screencast.com/users/normandinf/folders/Jing/media/56068fce-b3d2-4b2e-933f-960b956a613a/2010-01-23_1652.swf"></param> <param name="allowFullScreen" value="true"></param> <param name="scale" value="showall"></param> <param name="allowScriptAccess" value="always"></param> <param name="base" value="http://content.screencast.com/users/normandinf/folders/Jing/media/56068fce-b3d2-4b2e-933f-960b956a613a/"></param>'>http://content.screencast.com/users/normandinf/folders/Jing/media/56068fce-b3d2-4b2e-933f-960b956a613a/"></param> <embed src="http://content.screencast.com/users/normandinf/folders/Jing/media/56068fce-b3d2-4b2e-933f-960b956a613a/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" width="1010" height="578" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/normandinf/folders/Jing/media/56068fce-b3d2-4b2e-933f-960b956a613a/FirstFrame.jpg&containerwidth=1010&containerheight=578&content=http://content.screencast.com/users/normandinf/folders/Jing/media/56068fce-b3d2-4b2e-933f-960b956a613a/2010-01-23_1652.swf" allowFullScreen="true" base="http://content.screencast.com/users/normandinf/folders/Jing/media/56068fce-b3d2-4b2e-933f-960b956a613a/" scale="showall"></embed> </object>
    1 point
×
×
  • Create New...

Important Information

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