Jump to content


  • Posts

  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 2015
  • Since

ATE-ENGE's Achievements


Newbie (1/14)



  1. I have a list of circuit board input and output pins that I'm representing as 1D array of clusters with the following info: [Unique Identifier, Contact Description, Group, Top/Bottom of Board] Example: Example Data It seems to me like this would be a good case to use a Graph data structure. I've done the NI OOP training and am decently able to make my own, more simple classes. However, I really don't know how to use the Graph.lvclasses. This gives me the following questions: Is there a way other than a graph that's better for storing this data? I want to move to the Graph structure because I feel like it will give me the ability to more easily represent the complex connections on the board. Is there anything else that this format (or another) will help me to better do? Should I put this in an Access database instead and look at it with the database connectivity toolkit instead? I'm hesitant to do that as I have about 700 parts with 50 or so connections each. Putting all of that on to one table without any way I can think of to make a primary key feels like it could be a disaster ps - Apologies if this is too simple a question. I'm totally out of my depth here and, quite frankly, have no idea what I'm doing (Cue imposter syndrome ).
  2. I saw that, but in terms of Mysql, what qualifies as a "small interaction?" The fact that it takes 10->20x longer for "large interactions" worries me.
  3. Background: I've been using LabVIEW for a few years for automation testing tasks and until recently have been saving my data to "[DescriptorA]\[DescriptorB]\[test_info].csv" files. A few months ago, a friend turned me on to the concept of relational databases, I've been really impressed by their response times and am reworking my code and following the examples with the Database Connectivity Toolkit (DCT) to use "[test_info].mdb" with my provider being a Microsoft jet oldb database. However, I'm beginning to see the limitations of the DCT namely: No support for auto-incrementing primary keys No support for foreign keys Difficult to program stored procedures and I'm sure a few more that I don't know yet. Now I've switched over to architecting my database in MySQL Workbench. Suffice to say I'm a bit out of my depth and have a few questions that I haven't seen covered in tutorials Questions (General): Using Microsoft jet oldb I made a connection string "Data Source= C:\[Database]\[databasename.mdb]" in a .UDL file. However, the examples I've seen for connecting to MySQL databases use IP addresses and ports. Is a MySQL database still a file? If not, how do I put it on my networked server \\[servername\Database\[file]? If so, what file extensions exist for databases and what is the implication of each extension? I know of .mdb, but are there others I could/should be using (such as .csv's vs .txt's) My peers, who have more work experience than me but no experience with databases, espouse a 2GB limit on all files (I believe from the era of FAT16 disks). My current oldb database is about 200mB in size so 2GB will likely never happen, but I'm curious: Do file size limits still apply to database files? If so, how does one have the giant databases that support major websites? Questions (LabVIEW Specific): I can install my [MainTestingVi.exe], which accesses the jet oldb database, on a Windows 10 computer that is fresh out of the box. When I switch over to having a MySQL database, are there any additional tools that I'll need to install as well?
  4. From what I understand, .net would be as equally cross-platform as making a library. My question is a general "Is there any reason not to use .net for things?" as opposed to it being specific to this library. (I'll edit the question to make that more clear)
  5. Edit: I'm asking primarily if there is a reason why/when I should/shouldn't use .net functions in my LabVIEW development. The example below is just to demonstrate a case of my question. _________________________________________________________________________________________________________________________________________________________ I recently found a custom library that calculates SHA256 hash algorithms However, in this post I see that the same thing can be done with .net My main question is: Is there any reason to build or use a custom library for something where .net functionality already exists? Are there any disadvantages to offloading work to .net ?
  • Create New...

Important Information

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