LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tpc 2106T

Hi,
I'd like to use the "List Folder" function in a VI that I develop to TPC 2106T. But it doesn't work... Why?
In the same VI I have three "Tab Control" (I cannot use a "Tab Control" with another "Tab Control" inside, because it doesn't work). In one of these I have a "Waveform graph" and I'd like to use some controls to clear the graph, to use the autoscale function but I cannot find the right property....
 
Is there someone who can help me? THANKS
0 Kudos
Message 1 of 7
(3,559 Views)
Fabio,
 
Are you getting an error on your list folder function?  Make sure you are using a properly fomatted path for the input (CE paths have different format than windows).  File paths dont have a "C:\folderName\FileName" like on windows they start with "\HardDisk\FolderName\FileName"
 
Tab controls... Welcome to TouchPanel module. your right another tab control inside a tab control will not work.  I don't know why, but it doesn't.
 
Graph... Are you using an XY Graph, a Chart or a Graph?  Graphs and XY Graphs don't have "Clear Functions"  If you want an empty graph, wire an empty array to it.
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 2 of 7
(3,543 Views)
Hi Steven,
I haven't an error on my list folder function... but I try with with the different path. In the same VI I save an ASCII file and I use "c:\" path...
 
I'm using a chart. What about autoscale?
 
thank you very much
0 Kudos
Message 3 of 7
(3,531 Views)
I'm not sure about the autoscale.  I haven't used many graphs on touchpanel module.
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 4 of 7
(3,514 Views)

Hi Fabio,

unfortunately, the autoscale property for chart and graph cannot be edited during runtime. As you may have seen, the only accessible properties are the clear and zooming functions. The latter can de helpful for managing the region of the graph you want to focus on during execution.

I've attached a simple example that uses zooming on a chart, just change the target type from 2012 to 2106T

Hope this helps,

Fabio 

Fabio M.
NI
Principal Engineer
0 Kudos
Message 5 of 7
(3,504 Views)
Thank you for your example. What about "list folder"?
0 Kudos
Message 6 of 7
(3,486 Views)

Maybe too late but it can help some other people,

 

You can use list folder on a TPC 2106... the function that is not supported by touch panels is the string array

 

Use a listbox with a proprety node (elements name) without any indicateur of array to get the result of the list folder VI and it's working very welle

 

 

0 Kudos
Message 7 of 7
(3,054 Views)