07-01-2015 07:14 PM
Hi,
I have two vis, one is running in host and other is running in cRIO 9074.
The user chooses a command in host and sends it to target.
The target gets the choice made by user, does some calculus and asks a confirmation with a two button dialog box (that is running in target).
When I run these codes as a project, all works fine. I can see the dialog box and choose a button.
But when I build an application (EXE) on host, build a real-time application on target, set its vi as startup and deploy it and execute the application.exe, all dialog box in target are bypassed and are not displayed in host.
Does someone know what is happening? How can I display the dialog boxes those are running in target on host?
07-01-2015 09:16 PM
07-01-2015 10:04 PM
Why would you WANT to do things this way?
You're working with a deterministic OS. Why would you want to make it wait on user input, which is the least deterministic thing of all?
If you REALLY want to do something like this, you've got FIFOs you can pass things back and forth between the target and the host to control what takes place. What confirmation are you wanting to have AFTER the calculations are finished?
07-02-2015 11:59 AM
07-02-2015 01:19 PM
It'd probably be easier to understand why you're trying to do that at all. Are you frequently swapping out connections to your pins? Do you not trust your wiring and need to verify it on each iteration?
07-02-2015 04:54 PM
It is a technical requirement of the process that obligate me to check always the cabling before change the values of NI9476's pins.
Do you have some idea how I could do this?