-
Posts
2,397 -
Joined
-
Last visited
-
Days Won
66
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by jgcode
-
-
Posting an example will help here....
But if I understand you (?) then to pass data to and from subVIs you will have to wire up the connector pane of the icon to enable passing data to and from a top level VI.
Also the System Clock on a desktop OS has a 1ms resolution.
-
LabVIEW Object-Oriented Programming FAQ: How to Use LabVIEW Object-Oriented Programming: Item 4 - if link is current then LVOOP is not supported in LV8.5 RT.
Does anyone know first hand if OOP, whether it be Endevo GOOP, Sciware or dqGOOP (or other ?) will work under LV8.5 on embedded targets - in particular NI's real-time OS (Vxworks)
We have previously used Sciware in LV8.2 RT so I know that works however, I have been told that Endevo GOOP is not compatiable with LV8.5 and wanted to check the truth of this comment.
Regards
JG
-
-
For a while I used to program solely on a 13.3" with 1280X800 res. It is extremely portable and works well enough at that res. At home I have a 1680x1050 20" to connect to. At work we also use 1680x1050 20" as well. I try to make sure I don't abuse the extra space on the BD by keeping my code neat and compact so switching between the two is normally fine.
But I am down with MA on this one as I don't think overall screen size is that important compared to screen res - so if you need portability, make sure you go for a high res screen. Having the same res as your workstation is going to be the most efficent to go between if you are out of the office and need to be programming either on a plane or on-site for a client/project.
-
-
The National Instruments Product Compatibility for Microsoft Windows Vista explicity states that 8.2.1 works with Vista.
I believes this means 8.2.0 does not, but I can not confirm first hand.
-
Chuck Norris can kill two stones with one bird
-
There may be some helpful info here:
Preston Johnson writes: "Finally, you may note that the DMA buffer read is a blocking operation. In other words, when you call read DMA buffer read, the call blocks all other RT LabVIEW code from executing until the read completes. This means that if you are waiting for data to arrive, nothing else in LabVIEW happens. I normally use a read DMA of 0 bytes and use the backlog number to compare with my desired read. Once the backlog is big enough for the read to execute, I then execute the read. Of course I have a sleep (metranome) in my check the buffer loop. This allows your other calculation functions and data storage functions to work while the DMA buffer is filling."
You could also try using Shared Variable with a RT FIFO (static configure) or the RT FIFO queues (dynamic configure) to buffer data for interthread communication rathar than use locals or globals which are prone to being overwritten.
-
I am lurker turned poster (as of yesterday) so I thought I would say hi!
I lurked unregistered before joining.
My name is JG and quit my last job and took up a full time programming position in LabVIEW because LabVIEW is so much fun damnitt!!
I was exposed to LabVIEW in academia.
My current goal is to obtain CLA!
The company I work for does a fair bit of work with NI PAC so I am having a ball in learning the correct techniques to program in RT and FPGA!!
Learning LabVIEW never ends, which is another reason I love it.
I love discoving new and better ways to program!
And in that regard LAVA is kickass!
-
QUOTE (brianafischer @ May 13 2008, 07:56 AM)
jgcode, this is exactly what I was looking for! Sometimes you just have to dig a little deeper within LabVIEW because there are so many features.I know what you mean, I used to do what you did or I would unbundle the cluster then make an indicator from the elements just so I could get a reference!
But it was one of those a-ha! moments when we found it.
I have been playing with VI server and refs a fair bit lately - I am constantly amazed at all the things you can do.
Thats why I love LabVIEW
-
What about trying this?
You can access the element's reference thru the cluster's reference by right clicking
System clock, wait function, merging VI's
in LabVIEW General
Posted
QUOTE (MicrochipHo @ May 20 2008, 10:43 AM)
By the way you need to include all subVIs if you post a top level vi (try a zip file).
I don't think the above is too hard to do and I won't be doing you homework assignment for you, but subVIs are great to abstract code, create modular code, create reuseable code, make debugging easier, make the BD neater etc..
It would be a good idea to encapsulte the function generator in a subVI (whether you are required to write your own or use LV's).
Have a go at making it run, at this stage overkill on the connector panes shouldn't be a higher priority than getting it to work.
Remember to have fun!