Jump to content

Suvin

Members
  • Posts

    21
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Suvin

  1. Hi All,

    I am using MySql server as my backend for current project. I need to store around five records per second to my database. Is there any way to check for duplicate record present in the databse while inserting the data? Retrieving the complete data and checking it with current record is not a good solution all the time I guess.

    Thanks in advance,

    Suvin.

  2. Hi all,

    I have a front panel with maximum 10 indicators. I can select how many indicators to be displayed in the front panel. So no. of front panel elements may vary from 1 to 10. I am having a fixed space in the front panel to accomodate all these indicators. What I need is, if I select for 2 indicators, size and position of these indicators should automatically adjust to accomodate in the given space. That is, if no.of indicators is less, size of indicators should increase accordingly, and if more no.of indicators selected, size of indicators should decrease accordingly. Position of the indicators also need to change inorder to make the front panel neat.

    Is it possible? Thanks in advance.

    Suvin

  3. Hi all, I am facing a problem with report generation. Currently I am making reports using excel templates. I am attaching the picture of sample template here. As you can see B22 is the location of item 1 and B23 is the location for Description 1. Space for description is fixed. Now B30 is the location for item name 2 and B31 is the location for item description 2. My problem is, if description of the item 1 is very small, that already allocated space will be waste.Or if Description 1 is very large, I cannot accomodate it in the given space. So I need item name 2 to come exactly under description 1, rather than fixing the space for item name 2 and subsequent rows. In short, the allocation should be dynamic, according to the size of the descriptions. Is it possible through LABView? Any ideas?

    I dont need it to be done with excel only. I need that format of my quotation should be same thats all..Is there any other ways to do this?

    Thanks in advance,

    Suvin.

    post-17366-12729533427_thumb.jpg

  4. Driver={MySQL ODBC 5.1 Driver};Server=localhost;Database=myDataBase; User=myUsername;Password=myPassword;Option=3;

    this one is for Local machine. Create a database in My SQl server first and give the name instead of "myDatabase".

    Driver={MySQL ODBC 5.1 Driver};Server=myServerAddress;Database=myDataBase;User=myUsername; Password=myPassword;Option=3;

    this one is for remote connection.

    By default, the MySQL server will not be shared for remote computers. You have to change the privilleges http://bui4ever.com/...windows-server/

    Hope this will help

    cheers

    • Like 1
  5. Thanks a lot for the comments.

    Any idea about how to connect with a database sitting in a different computer? Now i am connecting by creating a datasource, as the database is in my PC. Now, when i put the database in another PC, how can I connect with the database? How should i link? Is there any way that i can specify server's IP address and database's location in the UDL file?

×
×
  • Create New...

Important Information

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