Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Because of the people on Discord or because of NI's implementation of EtherCAT? 😉
  3. @Gabriel Utomo there is not much activity on LAVA these days. You might have more success if you post on the LabVIEW Discord http://discord.gg/labview
  4. Hi all, I need to control a NI 9145 EtherCAT chassis using TwinCAT as the Master. In short, This setup [1] works: Slot 1: NI 9476 (wired only 1x DO to a simple Solenoid Valve, VSup & COM to 24V supply) Slot 2-8: Empty This setup [2] doesn't work: Slot 1: NI 9476 (same as setup [1]) Slot 2: NI 9375 (no wire at all, only slotted in) Slot 3-8: Empty I generated the TwinCAT ESI files using the NI Slave XML Creator, from NI Industrial Comm for EtherCAT 2023. Based on those 2 setup case, I don't think there is any problem on the electrical side. On setup [2], everything looks fine for me on the TwinCAT side, NI 9145 state can change to "OP" and I can set the Online value, but there is no change on the actual DO output. 9476 = sourcing output, so I'm expecting a 24V, which is present if I use setup [1]). I can read the CoE online data, and can also use the AoE - Online tab to read them manually. https://forums.ni.com/t5/image/serverpage/image-id/357407iD344B63133C2AFBD/image-size/medium?v=v2&px=400 Tried: 1. Wire the NI 9375 (setup [2]). The Digital Input worked just fine, but the Output didn't work (both NI 9375 & 9476). 2. Swap the modules with a spare, didn't work. 3. Swap slot 1 & 2 (with their respective ESI files), didn't work. Anyone encounter similar problem, or have any experience using NI 9476 + 9375 together in NI 9145 chassis (maybe using cRIO as the master)? Attached is the ESI file i used for 9476 + 9375. Thank you. Gabriel. DO_DIO.xml
  5. Last week
  6. Muchas gracias por tu aporte. Si entiendo, si revisas mis vis veras que cumplía con lo que sugieres, aunque no logre guardar el archivo. Verifique que efectivamente pasaban 2 bytes, se guardaban y nada más. Byte a port causaba el mal funcionamiento, lo elimine según me sugirió Rolf y se resolvió el tema. Aunque corre una vez y cierra el puerto. Estoy en eso...saludos
  7. Sí, se entiende el planteo. Para guardar una imagen JPG no conviene tratar la trama como texto, porque cualquier conversión a string “normal”, fin de línea, encoding o formato puede modificar bytes y el archivo queda inválido. En LabVIEW deberías abrir el archivo con Open/Create/Replace File en modo binario, y escribir directamente los bytes filtrados con Write to Binary File. Asegúrate de que lo que llega al write sea un array de U8 o un string tratado como datos binarios, sin pasar por funciones de texto. También revisa que estés eliminando solo tu encabezado EB91 y no bytes propios del JPG; normalmente un JPG empieza con FF D8 y termina con FF D9. Si después de filtrar el primer byte útil no es FF D8, ahí probablemente está el problema.
  8. I don’t have an RT target handy either right now, but I’ll leave this bumped in case someone here has a cRIO setup and can reproduce it. If anyone jumps in, the most useful thing would probably be a tiny project showing one parent spawning one child on RT, plus the exact LabVIEW version, target model, and whether it fails only as startup/deployed app or also when run interactively. RT issues can be annoyingly context-sensitive, the kind that behave perfectly on Windows and then become “creative” once deployed.
  9. Hi ,I'm from Malaysia .May I know the proper procedures to obtain the CLAD certificate? Need your guidance to properly obtain the course certification. Thank you.
  10. Earlier
  11. Me queda claro tu sugerencia, Byte a port, fuera. Ahora probaré la modificación que indicaste, entiendo que funcionará sin problemas. Muchas gracias por tu ayuda. Asunto Solucionado, Tema cerrado. Un saludo desde Córdoba, Argentina.🤛
  12. Muchas gracias por tu ayuda, con pequeños cambios lo adapte para que lea la trama del Visa y funciona de maravillas. Lo tuyo es muy profesional. Un saludo, desde Córdoba, Argentina 🫡 PD: se ve poco en la fotito ejemplo 😁
  13. Lots of exclamation points against using Bytes At Serial Port and then goes on to use Bytes At Serial Port More seriously though. You avoid a lot of the problems if you just pop up on the read prototype and set it to Synchronous IO mode instead of Asynchronous.
  14. Shauns code is more robust than just scanning the lines. But you should NOT use Bytes at Serial Port ever (with a few very rare exceptions that you are unlikely to ever encounter)! This is the default presentation that everybody should watch who is trying to implement serial port communication in LabVIEW: https://labviewwiki.org/wiki/VIWeek_2020/Proper_way_to_communicate_over_serial Once you fixed the serial port communication, by using the termination character properly that you already enabled in the Serial Port Init by default, and simply removing the Byte at Port completely and instead wire a large number like 512 to the byte to read input, your main problem is this part of your code. You should replace this with this part of Shaun's code: Your code currently only converts the first two hex parameters of every received byte sequence and with your Bytes at Serial Port function you frequently won't receive an entire line, so only convert part of it. The remainder will be read in the next iteration but totally throw the Match Regular Expression function off the tracks as it does not see the expected line header.
  15. I don't have an Arduino to hand but here is a quick and dirty conversion of your dump file so you can see how it would be done. Not much in the JPG to look at though str2jpg.zip
  16. Hola, gracias por su respuesta, el archivo de texto lo realice para verificar que los datos recibidos sean los correctos. Los datos que recibo es una foto, los envia la Esp32 via arduino, la intención es recibirlos, archivarlos en un file jpg y luego levantarlos y presentarlos en una solapa dedicada. Verificare sus indicaciones y me mantengo atento a su revisión de mis .Vi Gracias por su atención 👍
  17. I haven't looked at the VIs yet but could it be that you use the Write to Text File node and have not disabled the convert EOL option on it? If you want to write binary data, it is usually better to use the according Write to Binary File instead, but here you must not forget to wire a FALSE to the prepend array of string size input if the binary data is already the final format you need in the file.
  18. Tom McQuillan also presented this at gdevcon-na in chicago and those videos just recently went live. The whole video is worth a watch if you're curious about Nominal's business, but if you start at 14:03-17:24 I think its actually a solid tl;dr for why Nominal might be useful to you and how to grab the library. I'll also add here that around this core library I've created add-ins for other NI ecosystem products: A plugin for streaming from FlexLogger, drop-in plugin for existing projects A TestStand steps library which wraps the LabVIEW api in a more test-step-friendly way A TestStand model (report) plugin, which allows drop-in logging of existing test results to Nominal A VeriStand custom device which works very much like the standard "embedded data logger" custom device and can serve as a drop-in replacement or additional logging destination These are still early in their release cycle so if any of this does interest you and you want to try things out, please don't hesitate to reach out so I can make sure to rapidly resolve any issues you might encounter. I mean, obviously my code is perfect and would never have bugs but...just in case.🙃
  19. Going a bit off topic (ironically), but wading through those endless topic-shifting conversations on Discord feels like a step backwards....It is a nice tool for a public chat, but it makes things harder to find and follow 😞
  20. Hi @JP1 Its probably a good idea to post this also on the LabVIEW Discord, as there is quite a bit more traffic there these days http://discord.gg/labview
  21. Yes hooovahh,you are right,subpanels,2d picture can do this ,But their boundaries always stay within the VI. If the VI front‑panel bounds are too narrow, they cannot display properly.😁
  22. Hola, necesito AYUDA, soy entusiasta de temas técnicos, autodidacta, jubilado, pero con la mente intentando hacer cosas nuevas para mi conocimiento. El asunto es asi: desde un arduino controlo una placa Esp32 Cam, a la cual le ordenó sacar una foto y enviármela al serial port, la cual recibo correctamente, con su encabezado EB91 (ADJUNTO ARCHIVO). Genere un .vi con el cual pretendo primero, leer la trama, filtrar y guardar en un archivo binario con extensión. jpg. Aquí empieza mi problema; veo la trama correctamente filtrada pero no logro guardarla, a pesar de varios intentos.(Adjunto el vi). Genere un .vi para guardar como texto y lo hace correctamente. (Adjunto el .vi y su trama adquirida). Si alguien puede ayudarme será bienvenida su mano. Espero este claro el planteo. Gracias por su tiempo. Labview version 10, con windows vista, ya se del siglo pasado..bue es lo que hay...jajterminal.txtRECEPCIONFOTOTet.viterminalTrama.txtRECEPCIONFOTOBin.vi
  23. Hi all - sharing an open-source LabVIEW client we’ve been developing at Nominal. The idea is simple: keep LabVIEW doing what it does well on the test stand, while streaming the resulting data to Nominal for analysis, visualization, and collaboration. Instead of test data living on individual machines or desktop TDMS files, engineers can stream data directly from LabVIEW into a shared workspace, where it can be time-aligned with logs, video, and other data for analysis. Nominal's LabVIEW client supports real-time streaming, TDMS upload, and NI Linux RT. Install via VIPM LabVIEW client source on GitHub We're also building Instro, an open-source Python library for instrument control and test automation. For anyone running a mixed LabVIEW/Python test environment, we'd especially love feedback on where you draw that boundary today and what instruments you'd like to see supported. Instro source on GitHub Would love feedback from the LAVA community - on either project.
  24. I like it and I want to play around with it, but I feel like most of those examples you gave could be accomplished with subpanels, or 2D picture controls set to the top of the Z layering.
  25. Custom Menu(With Glyphs)?Ring with custom drop down list? Floating Toolbar?😁Relace everything that can't be customed
  26. Okay that is kinda cool. Other than an on screen keyboard, what uses are there for this?
  27. Hi guys,here is the final solution NoActVITest_LV2015.zip
  1. Load more activity
×
×
  • Create New...

Important Information

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