Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Table Connections in Lookout 6+

I used to be able (Lookout 3.4 on) to connect any object data member to a Data Table object cell.  In Lookout 6, this is NOT working.  I can make the connections, but the data in the connected cells is incorrect.
 
My most recent example is connecting a data socket cell such as 'datasocket1.data:1:6.num' to 'datatable1.A.6'.  Expressions of the datasocket cells are properly updated, but expressions of the corresponding data table cells are erroneous and randomly change to values of other datasocket cells that are also referenced.
 
Please, could someone confirm this activity and explain this behavior.  Can I not use data tables like this anymore???
0 Kudos
Message 1 of 5
(3,819 Views)

Hi Ed,

I seriously doubt the DataTable has changed (it's too complex for the new team to mess with .. just guessing here Smiley Wink )

The "datatable1.A.6" will point to the following cell:  intersection of the Ath Column, and whatever row Cursor 6 is currently at.  So, say, if Cursor # 6 is at row 3 (i.e., Cursor.6 = 3), then the cell pointed to would be A3.

I am guessing you just want the datasocket sources in different cells, in which case you would use A1, A2, A6, etc., directly (and not the A-dot-1, etc.). 

Please let me know if I misunderstood your question. 

Regards,

-Khalid

Message 2 of 5
(3,816 Views)

Hi Khalid,

Interesting...

I actually never used the cursor for multiplexing.  I started out using data tables for their original netDDE transport efficiency and remote client setup ease, not for multiplexing.

Turns out, it has been so long since I've setup any new tables in this manner, that I just hap-hazzardly used the column-dot-row format instead of the direct 'A1' type reference.  I'm sure now that this is what happened today (and one other time about a year ago!...but I just worked around it without using a data table...ha ha.) and I'll verify the case maybe tonight.

As usual, you are a star! (and a very available star at that...;))

Cheers,

Ed

0 Kudos
Message 3 of 5
(3,811 Views)

Hi Ed,

Good to see you again! 

The DataTable cursors can be very powerful (once we get our heads around 'em!).  Here's an example for basic multiplexing of data into different panels using cursors: 

http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=B45EACE3F11B56A4E034080020E74861



These DataTable cursors, combined with Symbolic Links can be even more powerful (and more confusing?): 

http://zone.ni.com/devzone/conceptd.nsf/webmain/DEB62324B3193AAF86256802007BA026

Regards,

-Khalid

0 Kudos
Message 4 of 5
(3,801 Views)
Ah...yes,
I actually do use the cursor with symbolic links for process redundancy...very slick!  I just don't have the need to multiplex panels.
Thanks,
Ed
0 Kudos
Message 5 of 5
(3,782 Views)