Jump to content

PLeVasseur

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0

About PLeVasseur

  • Rank
    LAVA groupie

LabVIEW Information

  • Version
    LabVIEW 2014
  • Since
    2014
  1. D'oh! Thanks for pointing that out, ShaunR. I'll have to keep a lookout for this in the future. Is there rationale that was given from NI for why this (or any other) property is not available?
  2. Some background: I'm trying to use the name of the library my VI is executing in as part of a string which will be used in the name of a Rendezvous, to keep it distinct from other Rendezvous I will create. When attempting to use the VI Property Node to access the Library property on the CompactRIO, error code 1 is returned. Running the same code on my computer runs as expected and returns the Library. Accessing the VI Name using the Property Node appears to work no problem on the RT, though. Does anyone know what could be causing the problem? I tried searching the documentation, but d
  3. Well, after working at it for a while longer, in the end I couldn't get programmatic access to shared variables to work on the CompactRIO. I spent some time reworking the code to function with Network Streams and I'm pretty happy with the result (since it works!). Thanks Neil.
  4. I appreciate the suggestions, JKSH. Answering your questions in order: What happens if you delete the SV node from your block diagram? Same error code (-1950678943). What happens if you try to write to the variable without opening a connection? Same error code (-1950678943). Right-click the SV node and select "Replace with Programmatic Access". Does this one work? I tried this previously, but it didn't work out. Same error code (-1950678943). What happens if you undeploy everything from your cRIO, and then deploy the variables again? Tried this previously, too. I tried undeploying and the
  5. Thanks for the suggestion Neil. I tried doing this previously by first turning a shared variable node into the Target Relative mode, then replacing with programmatic access, which resulted in a URL like you mentioned (ni.var.psp://localhost/...). I still received the same error code (-1950678943). I am open to other ideas as to how to accomplish sharing data between the computer and the cRIO. Do you have some tips you could share? It seemed that shared variables would be an easy way to do that, but I can't seem to get programmatic access to them to work from the cRIO (though access via sha
  6. I would like to use programmatic access to manipulate shared variables on a computer and an NI cRIO 9033, but cannot get programmatic access to shared variables on the cRIO. I have boiled the situation down to a simple example to try to explain what I am seeing. The shared variables are hosted on the cRIO. I am using the same VI to perform the accesses on the computer and the cRIO. On the computer, access to the shared variable via a shared variable node and programmatic access both work. On the cRIO, access to the shared variable via a shared variable node is functional, but programmatic acce
×
×
  • Create New...

Important Information

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