Jump to content

Llisas

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

1

About Llisas

  • Rank
    Active

Profile Information

  • Gender
    Not Telling

LabVIEW Information

  • Version
    LabVIEW 2013
  • Since
    2014
  1. Hi, I have to make the decision if I take a project or not. I have worked with LabVIEW for less than a year. I'm a CLAD but I only have experience in one project, which involved only using modbus tcp to communicate with a controller, so I don't have any experience (aside from taking Core1 and Core2) with data acquisition. I was offered a project which consist on acquiring sound. The hardware used is a microphone connected to a cDAQ, and then a cRIO is connected to the cDAQ. Periodically (about 5 mins) the data is sent to a local database. If the sound is higher than the maximum dB
  2. Ouch, silly mistake, thanks for pointing it out. Finally I could solve the problem. I found out that the error 505 generates when there's an error in the operation and then in another iteration of the same operation a no-error overwrites the error. I used the shift registers in the for loop, and noticed that now another error showed, saying that I was writing a duplicate of a primary key. So I checked the array I was writing to the DB and in fact I had stored data from the previous operations that I already wrote in the DB. After fixing that the problem was solved. Thanks!
  3. Hi all, I have an error that doesn't affect the functionality of my program, so for the moment I'm just ignoring it, but anyway I would like to know what is its cause and how can I solve it, or if it's safe to ignore it. I have a program that makes some tests and stores the data in some clusters, and then when the job is done it writes everything in a database. Then it asks if you want to start another job or end the program. Up to there everything works perfect. But if you choose to start another job without closing the program, after you complete it there's an error at the end of th
  4. I searched in the manuals and didn't find any "keep alive" or "acknowledge" signals needed to be sent. It's supposed to work simply by writing in the address given. I tried searching what signal could be turning it off, but had no success. I even erased the signals assigned in PIO(in) (16 internal signals assigned in parallel ports), although no one was the JOB selection signal. I tried writing the signal alone, just like in the vi attached (and without the while loop) so I don't think I'm writing a zero in my code. But thanks for telling me what exactly could be the problem, I'm just
  5. Hi all, I'm working on a project with a torque tool that has its own controller, and I have to make a program in Labview to select some stuff, monitor and save data. I'm using the Modbus/TCP protocol, and with the modbus library in Labview so far I've had no problems reading and writing, except for 1 signal: The torque tool can save up to 99 diferent Channel/Jobs (different torque curves), and I need to be able to select them with Labview. What I expect is that I write the register once at the beggining of the program, and then the channel remains selected until the job is done and th
  6. Thanks a lot, that was really helpful. I'm doing this project in Labview because the enterprise has the licence of it, and they even made me take some basic courses (core1, core2, connectivity and industrial protocols), so I should be fine doing this simple application using Labview. But I needed to know and make a report about what other alternatives there are to make similar projects, and their advantages and disadvantages. So now I understand what is the main functionality of the traditional SCADA packages, they learning curves and what they are capable of, to consider it for future pro
  7. Hi, I'm involved in a project that consists on making an interface to supervise a job on real time and acquiring data from a controller to save it on a database. I'm going to use Labview because the enterprise uses it for some applications on testbenches so they already have the licence. But I need to make a report about what the other solutions are, with their advantages and disadvantages comparing to Labview for this specific application. I read some topics and I understand that in general Labview's strenght is acquiring and processing signals, but for simple SCADA it's better to use
  8. Finally I could read something that's right. I made a fastening and the last torque achieved was 0.55 I used 9472 as Starting Data, which corresponds to RESULT TRQ DATA1, and indeed it shows "55" So now I think that definitely the address stuff in the manual is weird and I should contact the supplier.
  9. Thanks a lot. I made a little vi to see if I could read some coils. Finally after changing some things it shows no errors. In the MBAP header it doesn't works if I set the Unit ID as 0, but with any other value it works fine. And the Transaction ID shows no problem if I leave it as 0 or change it to anything. And for the Starting Address, with anything below of 80 it shows an error, but from 80 and above it works. This could indicate that in fact the addresses in the manual are right, since for the coils the first address shown is 80 (the signal START). But the problem is that my indicat
  10. I tested doing just the TCP Open Connection (with port 502 and the IP address of the controller) and TCP Close Connection, and it worked fine. But then I have problems when I enter the Ethernet Master Query. I also checked in the Master Ethernet Example I wanted to use, using the lightbulb troubleshooting feature, that the starting connection works fine, and the problem occurs when the read of discrete inputs starts. So my main problem is probably making the setup of that, with the addresses, the MBAP header, the Modbus command, etc . It would be great if someone could tell me the basic se
  11. I can't even know if it's connected right First I opened the Master Ethernet Example and the Slave Ethernet Example, and everything worked fine. Now I tried to do it connected with ethernet cable to the controller using the Master Ethernet Example, and set the "Remote IP Address" to the address of the controller (which I already tested with ping and the connection with my PC is fine, and also I have no problem reading and writing with the controller's software). And when I run it, I get the error 56. The error tells me that it happens at TCP Read in MB Ethernet receive.vi:5. I attached t
  12. Hi, first of all I want to say that I'm new to Labview, so I'm in the studying phase and I may have very basic questions. There's a tool that's basically a big screwdriver with a controller that can be programmed to make certain jobs using desired speed and torque, it's called Handy2000. You can save in different channels the configurations for the different jobs. The controller has its own software, and I can already connect to it and read/write with no problem using an ethernet cable. I was asked to make an interface in labview to select the channels, show in a graphic way (with pho
×
×
  • Create New...

Important Information

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