LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Internet Tool kit

Hi Fellow LabVIEWERS!
\I seem to have problem in setting the integer and floating variables
using the
remote SetInt and SetFloat command in the Internet Tool Kit. Any one
faced the same problem?

-Sheela
0 Kudos
Message 1 of 2
(2,695 Views)
Sheela,

It appears to me that the problem is with "Set VI Controls from Query
List" subVI underneath the victrl.vi CGI example. If you select the case
that begins with "SetDbl," you'll see that there's a "Scan from String"
node there whose format string is "%d". This should probably be "%f"
instead, since this is the case that deals with requests to update a
floating-point control value.

When I change the format string to %f and resave the VI, I get the
expected behavior from the victrl.vi. I didn't notice anything wrong
with the behavior of the SetInt command.

For those who aren't sure where this is in the Internet Toolkit, these
are CGI VI control examples--start the HTTP Server and navigate to here:
http://localhost/examples/victrl.htm

I'll submit a corrective a
ction request to the developers on this.

Thanks,
John Lum
National Instruments

Sheela Belur wrote:

> Hi Fellow LabVIEWERS!
> \I seem to have problem in setting the integer and floating variables
> using the
> remote SetInt and SetFloat command in the Internet Tool Kit. Any one
> faced the same problem?
>
> -Sheela
0 Kudos
Message 2 of 2
(2,695 Views)