Jump to content

eberaud

Members
  • Posts

    291
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by eberaud

  1. I would even suggest to remove this post. The list of potential actual exams shouldn't be posted anywhere.
  2. Glad to announce that I successfully passed my CLA! Thanks crossrulz for your guidance!
  3. I see, thanks for the tips. So far I already have a XNET solution, but on the DAQmx side, on a tethered cDAQ. So I will have to migrate this code to the LVRT side.
  4. Thanks everybody. Well in our case we'll also need Ethernet, CAN, and RS232 communication in order to send commands to the different hardware devices in a fast and deterministic manner. I don't know yet if the SCAN engine support those or if we'll have to write FPGA code for those. Now that I think about it, Ethernet and RS232 ports might be available on the RT Controller and will directly accessed through the LVRT? Only the CAN might be a module in the chassis and therefore require the FPGA layer?
  5. Thanks a lot smithd. My application is fairly complex and there are probably like 30 subpanels if I count subpanels of VIs inserted inside subpanels of other VIs and so on... So stripping down the subpanels is just not an option. From your answer, it seems I'll need to split my application into 2: one HMI for the PC, one RT for the cRIO or PXI. For the cRIO I understand that the HMI and the RT can communicate through shared variables or network streams. But what about the PXI? Is it a common practice to have an RT application in the PXI controller and an HMI on a PC? And how would those 2 applications communicate? Cheers
  6. Hi, My company has been developing and maintaining its own SCADA software in LabVIEW for a few years. It is fairly comprehensive: datalogging, graphing, alarm monitoring, automation, loops for equations and PIDs, and so on. It is a PC-based solution and communicates with many different kinds of hardware through the COM(RS232), USB, and Ethernet ports of the PC. This solution works well and allows keeping the costs low for most of our customers. Most of the loops run around 10Hz (100ms). However, more and more we are running into customer specifications that require high control rate (few milliseconds), high determinism (to the millisecond), and high reliability. Not surprisingly, the PC solution becomes unacceptable. We feel it is time to look into a real-time, embedded solution for those customers. That's why I'm currently investigating the different NI embedded RT solutions (namely PXI and cRIO). I can find plenty of resources on each of them, but close to nothing when it comes to comparing the 2 solutions and choosing which one to go with. Would you mind giving me some guidance? I guess you'll need more information, which I'll be happy to provide. A few elements already: - There is no request for MHz loops, so the FPGA side of the cRIO is not required I believe - Our application contains many VIs that are both the engine and the HMI, so there will be some decoupling effort if we need to split it into an HMI application on the PC and an RT application on the cRIO. Would a PXI solution avoid this issue by plugging a monitor directly to the display port of the controller? But then if I have all the code in the PXI controller, is it likely that I will lose my control rate and determinism? Thanks! Emmanuel
  7. Also, I would abandon the regular API and rely only on the Advanced API. The regular API lacks a lot of flexibility, it's only intended for very basic usage.
  8. I also use DVRs inside my object when I know I'm going to fork it. If you want to avoid DVR, I guess you can us a SEQ (Single Element Queue). Dequeue the object to "check out" and re-enqueue it to "check in". While the queue is empty, the next place that needs to R/W the object will wait inside its dequeue (as long as you let the timeout to -1 or make it long enough).
  9. Thanks. So if I build my application while this error still exists, could it explain why my DLL call is not working?
  10. I see a message about the following missing DLL when I open my LabVIEW project: api-ms-win-crt-runtime-l1-1-0.dll Have any of you ever see this? Some googling makes it looks like it's due to a missing C++ Redistributable...
  11. I think that's the key. I spent a lot of time tinkering around but thanks to that I now have a good understanding of the TDMS API and how to optimize the R/W operations. If, like me, you do your own decimation after the read operation, there is a sweet spot where it starts being more efficient to read each sample you're interested in one by one instead of reading a big block and decimating it.
  12. Thanks! It's probably going to be the path we'll follow.
  13. Dear all, My company is starting a project where some Matlab files (.m) need to be executed by LabVIEW. The 2 obvious solutions are Matlab script nodes and MathScript nodes. Unfortunately, even though the latter one is the most cost-effective and light in terms of installation, many of the functions we need are not supported by the Run Time Engine, so it's kind of a deal breaker. For the Matlab script nodes, I know Matlab needs to be installed since LabVIEW will request Matlab to execute the scripts through ActiveX. What I don't know is: what version of Matlab? Is there a cheaper "Run Time Engine" of Matlab we can use instead of buying the full-blown developement version of Matlab? Any other comment, remark, suggestion, alternatives? Thanks!
  14. My application writes thousands or samples for approximately 1000 channels in a single group. The Read/Write operations can be a bit slow on a regular hard-drive, but we use SSD drives or Ramdisk, and then it works perfectly and at very high speed. I'm a big fan of the TDMS now. Was tough to get around the Advanced API palette at the beginning, it took a bit of understanding...
  15. I think it's polymorphic. Try wiring a string to the path input.
  16. By the time we really make the decision to upgrade and we find time for it, 2015 SP1 might be out there anyway
  17. In case somebody has a few spare minutes to look at my CLA practice, here is my attempt at the ATM exam. Please ignore the elevator ones since this is one better I think. CLA ATM Exam EB.zip
  18. Thanks for the tip, I really appreciate it. For some reasons, since my early days as a LV developer I've had the impression that people wait for the SP1 because of potential bugs when a new version is released. But maybe that is not justified anymore?
  19. I think the plan is to move to 2014 SP1. The SP1 of any version feels more stable that the initial release (at least psychologically, even if not proven by facts).
  20. Is there a way to retrieve the reference of the VI inserted in a subpanel? I'm writing a code that takes a "parent" VI ref, and then scan through all its splitters, panes, and subpanels, and now I'd like to retrieve some infos from the VIs loaded inside the subpanels... Cheers
  21. Dear all, My company, Greenlight Innovation, is looking for a highly motivated LabVIEW developer. Please find the job description here. We are located in beautiful Vancouver, British Columbia, Canada.
  22. I made a second attempt at the elevator. I wrote it after watching a video from Muun doing the exam with the Model View Controller (without OOP) (https://www.reddit.com/r/LabVIEW/comments/3939jy/postlive_cla_practice_exam/). I tried to implement a simple version of the MVC by creating a central model that stores all queue and event refs across the application. I also added proper wrapping API for the messages to send, but the API still takes the queue or event references as input, so each caller still needs to pass the reference. I was doing this a third time (which I won't!), I would put the 'get model' inside each VI of the message API, so the callers of the API don't need to pass the references... I'd be happy to get some feedback before I try the ATM exam practice in a few days. Thanks! CLA Elevator Exam EB_try2.zip
  23. I wrote the elevator practice exam this morning. I'm not super content with my performance, and will definitely need to do better at the exam. The positive note is that it gave me a much better understanding of the format and the requirements. Even though I already knew I shouldn't code too much, I still did I think! The 4 hours just flew by so fast! Anyhow, I would greatly appreciate your feedback. I stopped after exactly 4 hours, so it is quite incomplete. I inserted a tab in front of each requirement that I placed. I placed 80 of them over the 90 the files contains. Of course it's hard to tell, but do you think I would have passed or failed? Thanks Emmanuel CLA Elevator Exam EB.zip
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.