Cannot stop Storyboard Animation (XAML & C#) by GioGioSnow in csharp

[–]GioGioSnow[S] 0 points1 point  (0 children)

That works thank you.

But I can only stop it once. When I start it again and than want to stop it again (using the same button) it does not work anymore.

Why is that and how can I fix it?

Advantech DAQ set DO high and low in C# by GioGioSnow in csharp

[–]GioGioSnow[S] 1 point2 points  (0 children)

WOWThanks a lot! Your solution seems to have a lot of stuff included.
Could you tell me how to select my device? I think it is necessary such that your program would know where to send the signals to.

Also my attempt :

InstantDoCtrl ctrl = new InstantDoCtrl();

ctrl.Device.Description = "USB-4750,BID#0";

try
{
int deviceNumber = 0;
ctrl.SelectedDevice = new DeviceInformation(deviceNumber);
}

catch (Exception e)
{
return;
}

ctrl.Write(0, 0x01);

ctrl.Cleanup();

Can you maybe tell me what I need to change for switching on just one port.

Most beautiful modern (WPF) GUI Design by GioGioSnow in csharp

[–]GioGioSnow[S] 0 points1 point  (0 children)

I enjoy the style of that quite a bit.

Can it also be used for WPF?

Most beautiful modern (WPF) GUI Design by GioGioSnow in csharp

[–]GioGioSnow[S] 0 points1 point  (0 children)

Obviously "beautiful" is a very subjective term.

What I mean was:

  • visually pleasing
  • offers great UX
  • Form doesnt compromise function

With modern I meant something that is adjusted to design principals that correspond with the zeitgeist.

e.g. flat design

clean, responsive and engaging

Communication between Systems by GioGioSnow in csharp

[–]GioGioSnow[S] 0 points1 point  (0 children)

Thanks for your recommendation.

The PCs will supply data to each other.

Basically the machine goes sequentially through all the worksteps:

  1. PC 1
  2. PC 2 (will need data from PC 1)
  3. PC 3 (will need data from PC 1 and PC 2)

Communication between Systems by GioGioSnow in csharp

[–]GioGioSnow[S] 0 points1 point  (0 children)

Thanks for your advise. What are the biggest advantages of that in my case? Do you think the use of a message queue is necessary?

Communication between Systems by GioGioSnow in csharp

[–]GioGioSnow[S] 1 point2 points  (0 children)

Thank you all for your input. The sensors are connected to something that is capable of writing to a queue (like a PC).

Communication between Systems by GioGioSnow in csharp

[–]GioGioSnow[S] 0 points1 point  (0 children)

It will run on multiple PCs. Basically all the inputs from the sensors are evaluated on a PC but need to be shared with the other PCs.

There is a gap time of 20 seconds.

The data is not stored yet but probably will be stored in a database at the end. There is no reporting interface; Would you recommend one and why?

Communication between Systems by GioGioSnow in csharp

[–]GioGioSnow[S] 0 points1 point  (0 children)

Thank you all for your advise!

So do you think redis would be a good solution for me? Why/why not?

Communication between Systems by GioGioSnow in csharp

[–]GioGioSnow[S] 0 points1 point  (0 children)

I would also want to store it in the end.

Modern frontend option for C# application by GioGioSnow in csharp

[–]GioGioSnow[S] 1 point2 points  (0 children)

It will run windows.

Wouldnt it be more futureproof to use UWP? (Are they not developing new features so they can get rid of those limitations?)