Justin Reina
Members-
Posts
93 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Justin Reina
-
Hey Nikunj, Sounds like you have a fun project to work with. As you have multiple tasks (or processes/threads, whatever suits your fancy), you might want to try out structuring your code as such. In an OS they're typically referred to as threads, and in LV there is potential for the same structure, and it is really efficient. One option in LV that may work well for you is a Queued-State Machine(QSM), where each 'task', or collection of common tasks is it's own thread (or QSM). There is a ton of info on the forum about this concept, but it essentially mimics the behavior of an OS. Here is an example, but by no means the best example (check the forum): -http://forums.lavag.org/PM341-t13547.html (the stepper_II.zip file) For your application, one effective method for the graph plotting would be to make it a seperate thread. It would then be up to the 'serial' thread to pass incoming data to it. If you are interested and your project warrants the time for it, play around a bit with this option. You may find it can be very flexible for your needs. Best of Luck, -Justin *I've also attached a simple vi showing that queues can pass anything you want them to.
-
Can 3D picture control be used to draw point and line as 2D picture
Justin Reina replied to laiwei's topic in User Interface
vugie, That is excellent, thanks for the submission. Never knew that was there -Justin -
Can 3D picture control be used to draw point and line as 2D picture
Justin Reina replied to laiwei's topic in User Interface
Hello Laiwei, Don't call this the end of the battle, but I couldn't find any modifiable properties for the 3D Picture Control for lines. It appears the only way to add primitives is through ->'Set Drawable', and this only includes items already found on the palette. If someone does find it though, let me know I do know this; last summer I spent significant time trying to find specific options within the 3D Picture Control, to no avail. I might suggest trying to find a simple alternative (I used long cylinders and spheres). And given modern computing, you may never know the difference . But this is also why default Office 2007 graphics look like anime cartoons... Best of luck, Justin *Could your app use a 3D Graph Control? These explicity Support your desires ('3D Curve Graph;) -
don't have 8.6, maybe post an 8.5 version or some screenshots? -Justin
-
re-sample in a rectangular coordinate system from polar
Justin Reina replied to Mathew's topic in LabVIEW General
Hello Ton, Perhaps a primer in polar conversions: http://www.mathsisfun.com/polar-cartesian-coordinates.html Maybe, x = r × cos( θ ) and y = r × sin( θ ) (from that site) With regards to Re&Im, this concept is more or less a tool people use to think about sinusoidal stuff. Don't think you need it for this proj (i.e your Re{} is just 'x', and your Im{} is just 'y'). Let me know if you have any more questions and best of luck. -Justin -
Hello all, I was wondering why my email notifications are not working correctly. They are linked to my gmail, and I have selected the 'enable notifications' option. Additionally, my Gmail account is not filtering these emails out. Any suggestions? -Justin Nevermind. Issue resolved. -Justin
-
Programmatically Label the Legend in an XY multiplot
Justin Reina replied to bobfrat's topic in User Interface
Try this. -Justin -
Cool. Maybe try this. It uses queues to make things a little easier to manage. made a polymorphic vi for 'send' so you can 'queue' up your states to execute. If you have any questions let me know. If you are interested, maybe scheme up a way to send a sequence of messages (i.e. instead of just sending a data message like it is currently, maybe send a state+data). -Justin To configure the serial port, take a peek at the 'simpleserialIO' vi up top. The 'configure port' vi has inputs for com rsrc,baud,data bits,stop bits, etc. -Justin
-
Hello star, The error is because the serial port wasn't configured correctly, check the settings on 'configure port' VI. With regards to the multi-list string function, what function are you trying to accomplish with it? Is it a mechanism to 'log' the previous states? -Justin Star, My apologies, I did not read it correctly. Is that function a mechanism to execute a sequence of states? -Justin
-
Hey wuke, Our embedded professor has had a lot of success with Olimex http://www.olimex.com/dev/ Their Sam9-L9260 is only $200, and meets your requirements with plenty IO. Best of luck with your decisions and keep us posted, kinda fun thread to follow -Justin oops- their 261 board is the model with upfront LCD support -Justin
-
Try this. Let me know what questions you have. If the 'queue' idea is a little fuzzy, try looking into 'QSM'. -Justin
-
Hello Star, What kind of constraints do you have for your system? The particular function you have found seems to have been very carefully thought out and robustly implemented. As such, it is way complicated If you are simply controlling something in the lab, or perhaps a rp/demo/proof-of-concept then type situation this type of function is unnecessary (and dangerous to use unless you know exactly what its doing). However if you are controlling a satellite, this may be a different story, and you probably would use nothing less. Which situation suits your fancy? (Hint: option 'B' takes a lot of work). -Justin
-
Hey star, First, you should give me that driver, I want one... In short send a string of the commands delimited with the 'EOL' character. See attached. Beyond that, I think there are few things to maybe ask about. (1) Serial COM in the LV environment - I've attached a documented basic example. (2) Software Architecture in LabVIEW - There are much simpler ways of accomplishing your tasks with more brevity and robustness Best of luck. If you are interested in (2) let me know and we can work through it. It shouldn't take too long. -Justin
-
Hello Harika, Project sounds neat but we need a little more info before proceeding: (1) Could you attach the 'Advanced Serial Read and Write" VI w/all subvis (2) Could you explain with more detail the intentions of your code? We can help but need more specifics. I see an opportunity to help but need a little more info first. Also, maybe work on the grammar a bit Thanks, Justin
-
Hello Matthew, Forgive my lack of expertise in the realm of DSP, but could you use a neighbor-weighting function to map your final image? Maybe each pixel could be a weighted sum of your data set by proximity? Not my area of specialty, but saw you hadn't gotten a response so thought I'd take a stab. Let me know how you project turns out. Also, if you need help implementing in LV, let me know. Best of Luck, Justin oops sorry the attachment is so big B&W PNG that is 103kB...
-
Hello all, This question may appear simple; however I have hung on it for quite some time now. I have a Database Viewer VI that is published with the Web Server. I would like a remote client using the embedded web server to be able to download a file from my main computer. My experience with networking tools is slowly growing; but I cannot seem to determine how to interact with the client's computer. Any ideas, or suggestions where to look? Thanks, Justin Reina
-
Hello, Thanks Ben, That is quite a valid solution. I wish there was a more formal solution, but this is certainly valid and looks nice too. Thanks again, Justin
-
Hello all, I am developing a simple vi to plot spherical antenna data. Attached is the vi. However I cannot find where to set the axes to display 'through the origin'. In other environments, this setting is available; but I cannot find it in the CW3DGraph properties. Any suggestions? Thanks. -Justin Reina