LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

data types in event structure?

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

0 Kudos
Message 1 of 8
(891 Views)

Re: data types in event structure?

Hi Johan

There is no picture..

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... Smiley Wink
--------------------------------------------------------------------
0 Kudos
Message 2 of 8
(884 Views)

Re: data types in event structure?

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
(874 Views)

Re: data types in event structure?

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
(870 Views)

Re: data types in event structure?

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... Smiley Wink
--------------------------------------------------------------------
0 Kudos
Message 5 of 8
(868 Views)

Re: data types in event structure?

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... Smiley Wink
--------------------------------------------------------------------
0 Kudos
Message 6 of 8
(865 Views)

Re: data types in event structure?

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
(862 Views)

Re: data types in event structure?

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
(857 Views)