From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data types in event structure?

(Look at picture below)
 
How do I make the -100 constant to be in double?
 
Is the problem above the reason that the scale always shows 0 as minimum?
 
EDIT:
Sorry! Smiley Very Happy
 
attaching file....

Message Edited by Johan.svensson on 07-25-2006 12:39 AM

Download All
0 Kudos
Message 1 of 8
(3,194 Views)

Hi Johan

There is no picture..

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 8
(3,187 Views)

Right click on the constant . Select Representation fro the popup-menu followed vy double or whatever other type you want.

Mario

 

0 Kudos
Message 3 of 8
(3,177 Views)

I've tried that now and of course the data type changes, but the tunnel (i belive it is caled tunnel) does have q white spot in the middle which the other tunnels don't

??

Does it make any difference? I mean, about solving the problem with "minimum scale" property node

0 Kudos
Message 4 of 8
(3,173 Views)

How to change the type, cubano already described.

Basically it should set the scale, because the datatype is converted (you should see a conversion dot). Maybe you have autoscale activated (I assume you try to set the scale of a graph control), what could result in the described behaviour.

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 5 of 8
(3,171 Views)

Yes this makes a difference - the one you described, passes a default value to the property node. You have to wire these from the inside - this could also cause the described behaviour.

To avoid this, rightclick these terminals and deselect "default values if unwired".

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 6 of 8
(3,168 Views)

That's ok.

In this case an integer input to a floating point property node will not cause any alarming errors.

That white dot in the middle just denotes that you have selected 'use default if unwired' option for that particular tunnel.

if you connect inputs to that tunnel in all event cases, this white dot will disappear.

if you leave it blank, a default value will be assigned from that case to the tunnel

Message 7 of 8
(3,165 Views)

Thanks!

Problem solved...

There was an unconnected wire in timeout event.

When all got connected and datatype double the scaling of the graph works perfectly

0 Kudos
Message 8 of 8
(3,160 Views)