LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FP.PanelBounds Returns Error 1

Hello,

 

When trying to programmatically set the front panel bounds in Labview 8.5, I receive:

 

Error 1 occurred at Property Node (arg 1) in Channel Viewer.vi

 

LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
NI-488:  Command requires GPIB Controller to be Controller-In-Charge.

Property Name: Front Panel Window:Panel Bounds

 

This error is dealt with in the following article in the knowledge base:

 

http://digital.ni.com/public.nsf/allkb/4844BA74383CAD5C86256FAA0059AEE1

 

However, after changing the minimum window bounds to 0,0, this error persists. I've played around with wiring different constants to the bounds, and can't seem to find one for which I don't receive the error.

 

If anybody can help shed some light on this issue, I'd appreciate it.

0 Kudos
Message 1 of 7
(4,218 Views)

Can you post your vi?

0 Kudos
Message 2 of 7
(4,199 Views)

Hello, here's a screenshot of the VI in question. Not pictured are some visibility property nodes that are set initially.

 

20631i96524DD391BAD176

0 Kudos
Message 3 of 7
(4,191 Views)

Without having your actual VI it's hard to say for sure, but try using an invoke node to open the window, rather than the property node

20635iEF32F6607B37F5F5

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 4 of 7
(4,184 Views)

Hello,

 

I tried changing to invoke node but it didn't seem to make any difference. Here's the VI, as requested. Your help is much appreciated, thanks.

0 Kudos
Message 5 of 7
(4,179 Views)

I didn't get an error when I ran your VI, before or after I added teh Invoke Node...  I had to change the path to a folder that had images, of course, but the first frame of the sequence executed without error.

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 6 of 7
(4,170 Views)

Hmm, I can't see why it would be any different on my system. Seems strange.

0 Kudos
Message 7 of 7
(4,165 Views)