
kingson
-
Posts
7 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by kingson
-
-
I have two GPIB devices connected. One is in SRQ state while at the same time I want to read from the other device, a Keithley 2000 multimeter. I found this read operation always stop the first device.
Any suggestion is appreciated.
-
Finanally I give up singaling value to generate an event. I turned to make the process as a user event, and generate this user event wherever its needed.
This works like the helper function in other language(pseudo code).
void onOKButton()
{
saveHelper()
}
void onSaveButton()
{
saveHelper()
}
void saveHelper()
{
//do the real work
}
You can say this can be done easily in subVI. But in my case, the subVI input parameters consume a lot space which I cant fit it in.
-
Not to make it excute twice is most I am concerned now. The demo above runs well locally
but if I control it remotely from a web browser, it will get executed once again. After spending
quite some time, incidently I popup a dialog in the event processing, and then the second event doesnt show up.
This demo will show two different results when you select to popup dialog or not. Run it by
Tool->Web Publishing Tool...->Preview in Browser
So now I am confused with the Labview event processing. Maybe the popup dialog prevents the second event.
-
Will the "Delete Selected" Value Changed event executed again when you reset its value?
What I did is examplifed in the attached file.
-
Hi all,
I intend to programatically generate a Value Changed event for a latched boolean control.
just because I want to reuse the process code for this evnet while it is not convenient to
put it in a sub-vi.
I tried to link a boolean constant TRUE to the property Value(Signaling), but get an error
that this doesnt work for a latched boolean control.
Is there any way out?
Thanks.
I just come up with a workaround in which I use switched boolean instead of latched. I can access its property Value(Signaling).
Then in the Value Changed event process, I wire a FALSE constant to the local variable of
this boolean control to reset the value.
-
Hi all,
I intend to programatically generate a Value Changed event for a latched boolean control.
just because I want to reuse the process code for this evnet while it is not convenient to
put it in a sub-vi.
I tried to link a boolean constant TRUE to the property Value(Signaling), but get an error
that this doesnt work for a latched boolean control.
Is there any way out?
Thanks.
SRQ and read two GPIB interface at the same time
in Hardware
Posted
I found they dont conflict, if I avoid talking to the Keithley multimeter when there is a pending SRQ from the other device. What I did is to check the SRQ sign every time when I want to talk to the multimeter.
This is awkward and still sometimes fails. Maybe put both devices into SRQ mode can help.