LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Page Display System -1

Please refer attached figure. My requirement for displaying data as drawn in fig. The data will be splitted into 2 part and there should be one scroll bar to control the scrolling. Scrolling should work as drawn in fig. I would like to know whether it possible to achieve this. Also let me know if there is any standred format supported by Labwindows/CVI for monitoring and controlling the data.
0 Kudos
Message 1 of 6
(3,372 Views)
Hi,

From the picture I think that the best way to display the data will be a table control.You can get started by looking at the example located at:
C:\Program Files\National Instruments\CVI71\samples\userint\colview.prj and C:\Program Files\National Instruments\CVI71\samples\userint\gridview.prj

As for the question "there is any standred format supported by Labwindows/CVI for monitoring and controlling the data" you will have to be more specific. CVI supports GPIB, RS232, OPC, VXI and many other IO protocols. There is not really 1 single standard for IO; it depends on what device you are talking to.

I hope this helps; let me know if you have any further qeustions.

Regards,

Juan Carlos
N.I.
Message 2 of 6
(3,371 Views)
Hi Juan
Thanks a lot for your help. I think i could not able to explain my requirement. Once again i will try to explain my requirement. please refer attached file..
Thanks again..
Rakesh
0 Kudos
Message 3 of 6
(3,371 Views)
In my opinion this is a too cusomized behaviour to obtain from a standard control.

I too think the best way to display your data is the table control, but it needs some custom code to intercept clicks on the scroll bar and arrange the data as you want.

Another possibility is to ignore the built-in scroll bar and use the scroll bar custom control found in toolslib. Again you will need to code the expected nehaviour. There is a good example in samples\userint\custctrl\scrollbar.

Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 6
(3,372 Views)
I have to agree with Roberto here. This is a corner case for a very specific situation.

Writing the hole table everytime the user clicks on the scroll bars could be slow. I suggest that you use 2 separate tables with the same data on them. Use a CVI scroll bar to catch the events and then changing the visible range on the tables.

I am attaching a UIR file to demonstrate this example.

I hope this helps.

Juan Carlos
0 Kudos
Message 5 of 6
(3,372 Views)
Thanks Juan ! i except your comment as an answer.
0 Kudos
Message 6 of 6
(3,372 Views)