05-07-2012 02:55 PM
Hello!
I am trying to use a vertical slider bar to represent my 72-hour dataset. I have also added two additional sliders, to represent a time intervall inside the dataset. My problem is that when i try to connect the cluster with timestamps to the slider it says "Cluster->output_timestamp, a 1D of timestamp, conflicts with cluster slide, a double [64-bit real]".
I understand that there is a type conflict between expected input to the slider and actual input, my question is how to solve this problem? Do I have to convert all the data, or is there some options for the slider that I have not got right?
I have attached a image to show what I want my slider to do.
Greetings
Kristoffer
Solved! Go to Solution.
05-07-2012 03:05 PM
I'm afraid I can't see any detail in your image. Can you create a small piece of code which demonstrates the problem you're trying to solve.
05-07-2012 03:09 PM
The details in the image is not that important. It is as simple as that I want to represent the whole dataset with the green colour that you can see from the image, plus that I want to represent a certain time intervall inside the dataset with red colour (just as in the image).
Greetings
Kristoffer
05-07-2012 03:49 PM
You need to explain the structure of your cluster. It sounds like you have a slider in the cluster that you are trying to connect a 1D array of timestamps to, so do you have a 1D array of sliders, or do you have a 1D array of clusters with a scaler slider? Is the cluster a control or an indicator? It could be that you just need to convert the timestamp into Double, but then you will need to adjust min and max values of the slider scale and it's display format.
05-07-2012 04:32 PM
Yes, I am trying to connect a 1D array of timestamps (my whole dataset). In addition, I want to connect two certain timestamps. In order to get all the input to the slider, I am trying to use a Bundle function. The cluster is an indicator, and the input might vary from time to time. But, how can I easiest convert timestamp to number, if that might be a solution?
Greetings
Kristoffer
05-07-2012 04:53 PM - edited 05-07-2012 04:54 PM
@Sjefsgjogleren wrote:
Yes, I am trying to connect a 1D array of timestamps (my whole dataset). In addition, I want to connect two certain timestamps. In order to get all the input to the slider, I am trying to use a Bundle function. The cluster is an indicator, and the input might vary from time to time. But, how can I easiest convert timestamp to number, if that might be a solution?
Greetings
Kristoffer
I hate to ask the obvious but, what exactly is wrong with formatting the slider's scale as Absolute Time and use the to dbl conversion bullet? The slider's scale understands how to format a dbl as absolute time (Look ma, No Code)
05-07-2012 05:20 PM - edited 05-07-2012 05:21 PM
Does this help you to get what you need?
05-08-2012 05:24 AM
Thank you! I was that property node that I needed in order to get the scaling right!
Greetings
Kristoffer