11-23-2012 12:05 AM
Dear All..
My Qusetion is ... I have a VI in which I can writ the data to shift register and I can read( Differenent cases). I am Running the VI in write mode to write SAY '100' in the shiftreg( VI will be In teststand Sequence) . And I am reading the VI in read mode using Labview. I am getting the data in labview.
When i conver my Reading Vi which is having that Read/Write vi in to EXE even then the test stand is writing the data to VI is Unable to reflect in labview.
Please Help me out with some solution.
Thanks
bhargav
11-26-2012 10:26 AM
I'm confused by your question:
Are you trying to transfer data from an Exe to TestStand and vice versa?
Or are you changing existing, working VIs into EXEs and then wondering why they won't behave the same?
Can you clarify some what your goal is?
There may be a better way to do what you want.
Thanks,
06-28-2023 08:46 AM
Hi Bhargavsatya,
first, the VI you use to read/write data and save them in the USR(Uninitialized Shift Register) is call FGV(Functional Gloable Variable) or AE(Action Engine).
Here is some one who has the same issue.
When you build an EXE, your FGV subVI is not the same code any more compare to the FGV you put in the TestStand Sequence, as they are in different preallocated memory.
Consider your EXE and TestStand simply as two Apps, and try to share the same data, there is some information below, which I actually not suggest to do, since you build the exe, that meanings any *.vi files are not considered to be deployed on the Test-PC.
https://lavag.org/topic/7732-how-to-shared-a-fgv-between-2-lvprojs/
I personaly havn't come up with this issue yet, would like to see some nice idea from others.
Regards,
FrankenChino
06-28-2023 08:54 AM
Please access these two articles, they might be helpful.